--=REKLAMA=--
A template standardizing the portal templates and for other purposes. Creates a box with squared corners.
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-sq | 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 | tekst }}
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-sq | title= | editpage= <!-- This field must be the same as the name of the page it is on. --> | titleforeground= | titlebackground= | background= }} Zawartość boksa {{Box-footer | tekst }}
{{Box-header-sq | title= Przykład Box-header-sq | editpage= Box-header-sq/przykład | titleforeground= white | titlebackground= gray | background= white }} {{Box-header-sq/przykład}} {{Box-footer| [[Szablon:Box-header|więcej...]] }}
To jest przykład szablonu {{Box-header-sq}} inkludowanego na podstronie.