Template:කොටුව-සිරස/උපදෙස්

This template was imported from Wikipedia, where it is used alot. It is possible that the documentation there is more complete. You can find it here: w:Template:Box-header/doc.

This documentation applies to

භාවිතය

A template standardizing the portal templates and for other purposes.

Template:කොටුව-සිරස and Template:කොටුව-පාදම always need to be used in combination, as one opens formatting and the other closes formatting.

Syntax

Use Template:කොටුව-සිරස, in exact capitalization, and never Template:කොටුව-සිරස. The template is not a stand-alone template and so once the box header is typed or pasted the template කොටුව-පාදම must immediately follow it.

This example assumes that you have a separate page containing the content, and transclude it onto the page.

{{Template:කොටුව-සිරස
| title= 
| editpage=  <!-- This data must be the same  -->
| titleforeground=
| titlebackground=
| background=
| viewpage= <!-- This data must be the same  -->
}}

{{ <!-- This data must be the same --> }}

{{කොටුව-පාදම | text }}

This example assumes that the content is entered between the header and footer. Notice that viewpage is not in there. It will not work because it links to the page you are on, and therefore wikipedia does not link it.

{{Template:කොටුව-සිරස
| title= 
| editpage=  <!-- This field must be the same as the name of the page it is on. -->
| titleforeground=
| titlebackground=
| background=
}}

Box Content

{{කොටුව-පාදම | text }}

උදාහරණය

{{Template:කොටුව-සිරස
| title= The Quotes of Quotes
| editpage= Template:කොටුව-සිරස/උදාහරණය
| titleforeground= white
| titlebackground= red
| background= white
| viewpage= Template:කොටුව-සිරස/උදාහරණය
}}

{{Template:කොටුව-සිරස/උදාහරණය}}

{{කොටුව-පාදම| [[w:Adolf Hitler|more...]] }}

The Quotes of Quotes

If music be the food of love, play on.