Šablonas:Box-header
Išvaizda
{{{title}}}
Naudojimas
Šablonas box-header naudojamas vikisričių bei vikiprojektų išvaizdai. Gero naudojimo pavyzdys - Vikisritis:Prancūzija
Syntax
Use Template:Box-header
, in exact capitalization, and never Template:Box-Header
. The template is not a stand-alone template and so once the box header is typed or pasted the template Box-footer
must immediately follow it.
This example assumes that you have a separate page containing the content, and transclude it onto the page.
{{Box-header | title= | editpage= <!-- This data must be the same --> | titleforeground= | titlebackground= | background= | viewpage= <!-- This data must be the same --> }} {{ <!-- This data must be the same --> }} {{Box-footer | 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.
{{Box-header | title= | editpage= <!-- This field must be the same as the name of the page it is on. --> | titleforeground= | titlebackground= | background= }} Box Content {{Box-footer | text }}
Pavyzdys
{{Box-header | title= The Quotes of Quotes | editpage= Template:Box-header/sample | titleforeground= white | titlebackground= red | background= white }} {{Template:Box-header/sample}} {{Box-footer| [[Adolf Hitler]] }}
The Quotes of Quotes
If freedom is short of weapons, we must compensate with willpower. —Adolf Hitler
Taip pat žiūrėkite
Viršuje esanti dokumentacija yra iškelta iš Šablonas:Box-header/doc puslapio. (redaguoti | istorija) Redaguotojai gali eksperimentuoti šio šablono smėlio dėžėje sandbox (sukurti | klonuoti) ir testiniuose (sukurti) puslapiuose. Prašome pridėti kategorijas /doc subpuslapyje. Šio šablono subpuslapiai. |