Template:පුවරු-සිරස
{{{title}}}
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
Usage
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 }}
Sample
{{Template:පුවරු-සිරස
| title= The Quotes of Quotes
| editpage= Template:පුවරු-සිරස/sample
| titleforeground= white
| titlebackground= red
| background= white
| viewpage= Template:පුවරු-සිරස/sample
}}
{{Template:පුවරු-සිරස/sample}}
{{පුවරු-පතුල| [[w:Adolf Hitler|more...]] }}
If music be the food of love, play on.
ඉහත දැක්වෙන උපදෙස්, Template:පුවරු-සිරස/උපදෙස් වෙතින් ගෙනැවිත් ඇත. (සංස්කරණය | ඉතිහාසය) සංස්කාරකවරුන් හට, මෙම සැකිල්ලේ sandbox (නිර්මාණය | mirror) සහ testcases (නිර්මාණය) පිටු වල අත්හදා බැලීම් කළ හැකිය. ප්රවර්ග, /උපදෙස් උප පිටුව වෙත එක් කිරීමට කාරුණික වන්න. මෙම සැකිල්ල සතු උප පිටු. |