Box-header-sq
From ISOGG Wiki
{{{title}}}
[edit] [ ] Template documentation
Usage
A template standardizing the portal templates and for other purposes. Creates a box with squared corners.
Syntax
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= <!-- 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-sq | 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
{{Box-header-sq | title= Example of Box-header-sq | editpage= Box-header-sq/sample | titleforeground= white | titlebackground= gray | background= white }} {{Box-header-sq/sample}} {{Box-footer| [[Template:Box-header|more...]] }}
Example of Box-header-sq
This is a sample of how the {{Box-header}} template transcludes a subpage.
See Also
The above documentation is transcluded from Template:Box-header-sq/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |