Template:Navbox/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
m (4 revisions)
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... :{...)
Line 1: Line 1:
;Description
;Description
:This template is used to create a basic [[Help:Navbox|navbox]].
:This template is used to do something.
;Syntax
;Syntax
:Type <code>{{t|navbox|...}}</code> somewhere, with parameters as shown below.
:Type <code>{{t|templatename}}</code> somewhere.
;Sample output
;Sample output
 
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
<pre>{{navbox
:{{templatename|foo}}
|header=Land of Bob
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
}}</pre>
 
Results in...
 
{{navbox
|header=Land of Bob
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
}}


<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 {{templatename}} somewhere.
Sample output
{{templatename|foo}} gives...
Template:Templatename