Template:Navbox/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
(New page: ;Description :This template is used to do something. ;Syntax :Type <code>{{t|templatename}}</code> somewhere. ;Sample output :<code><nowiki>{{templatename|foo}}</nowiki></code> gives... :{...)
imported>Default
No edit summary
Line 2: Line 2:
:This template is used to do something.
:This template is used to do something.
;Syntax
;Syntax
:Type <code>{{t|templatename}}</code> somewhere.
:Type <code>{{t|navbox|...}}</code> somewhere, with parameters as shown below.
;Sample output
;Sample output
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
 
:{{templatename|foo}}
<pre>{{navbox
|header=Westfall
|collapse={{{collapse|}}}
|body=This subzone and that subzone.}}</pre>
 
Results in...
 
{{navbox
|header=Westfall
|collapse={{{collapse|}}}
|body=This subzone and that subzone.}}


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 12:30, 13 June 2015

Description
This template is used to do something.
Syntax
Type {{navbox}} somewhere, with parameters as shown below.
Sample output
{{navbox
|header=Westfall
|collapse={{{collapse|}}}
|body=This subzone and that subzone.}}

Results in...