--=REKLAMA=--

Szablon

Box-header/doc

Z Joomla!WikiPL

Stosowanie

Szablon standaryzujący szablony portali i do innych celów. Tworzy boksy z zaokrąglonymi narożnikami.

Składnia

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.


W tym przykładzie założono, że masz oddzielną stronę zawierającą treści i transkludujesz je na stronę.

{{Box-header
| title= 
| editpage=  <!-- Te dane muszą być takie same  -->
| titleforeground=
| titlebackground=
| background=
| viewpage= <!-- Te dane muszą być takie same  -->
}}

{{ <!-- Te dane muszą być takie 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. W tym przykładzie założono, że zawartość jest podana między nagłówkiem i stopką. Zauważ, że nie ma tutaj viewpage. To nie będzie działać, ponieważ linki do strony na której się znajdujesz, i dlatego wikipedia nie łączy go.

{{Box-header
| title= 
| editpage=  <!-- To pole może być takie samo jak nazwa strony znajduje. -->
| titleforeground=
| titlebackground=
| background=
}}

Zawartość boksu

{{Box-footer | text }}

Przykłady

{{Box-header
| title= Przykład Box-header
| editpage= Box-header/przykład
| titleforeground= white
| titlebackground= red
| background= white
}}

{{Box-header/sample}}

{{Box-footer| [[Szablon:Box-header-sq|więcej...]] }}

Przykład Box-header


Szablon:Box-header/przykład

Zobacz też

Box-footer

Box-header-sq

Box portal szkielet