İçeriğe atla

Şablon:Kutu altbilgi

Vikikaynak, özgür kütüphane
Şablon belgelemesi Belgeleme

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:Box-header and Template:Box-footer always need to be used in combination, as one opens formatting and the other closes formatting.

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.

{{Template: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.

{{Template: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 }}

Sample

{{Template:Box-header
| title= The Quotes of Quotes
| editpage= Template:Box-header/sample
| titleforeground= white
| titlebackground= red
| background= white
| viewpage= Template:Box-header/sample
}}

{{Template:Box-header/sample}}

{{Box-footer| [[w:Adolf Hitler|more...]] }}

Şablon:Box-header

Şablon:Box-header/sample

Şablon:Box-footer