Difference between revisions of "Template:TutorialHeader"

From GMOD
Jump to: navigation, search
m
m (editing tutorial header)
 
Line 4: Line 4:
 
Specify the variables thus:
 
Specify the variables thus:
  
<nowiki> {{ TutorialHeader
+
<pre>{{ TutorialHeader
| what = <tool name>
+
| what = <tool name>
| where = <conference/venue name; wikitext OK>
+
| where = <conference/venue name; wikitext OK>
| when = <date>
+
| when = <date>
| who = <presenter; wikitext OK>
+
| who = <presenter; wikitext OK>
| logo = <link to logo>
+
| logo = <link to logo>
}} </nowiki>
+
}}
 +
</pre>
  
 
and they will come out looking like this:
 
and they will come out looking like this:
Line 20: Line 21:
 
</div>
 
</div>
 
</noinclude>
 
</noinclude>
 
+
<includeonly>
 
[[File:{{{logo}}}|center|250px|{{{what}}}]]
 
[[File:{{{logo}}}|center|250px|{{{what}}}]]
  
 
This [[Has topic::{{{what}}}|{{{title|{{{what}}} }}}]] tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}. The most recent {{{what}}} tutorial can be found at the [[{{{what}}} Tutorial]] page.
 
This [[Has topic::{{{what}}}|{{{title|{{{what}}} }}}]] tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}. The most recent {{{what}}} tutorial can be found at the [[{{{what}}} Tutorial]] page.
 +
</includeonly>
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Latest revision as of 22:29, 11 February 2014

Template to create a header for a tutorial page.

Specify the variables thus:

{{ TutorialHeader
| what = <tool name>
| where = <conference/venue name; wikitext OK>
| when = <date>
| who = <presenter; wikitext OK>
| logo = <link to logo>
}}

and they will come out looking like this:

<Centered logo>

This <what> tutorial was presented by <who> at the <where>, <when>. The most recent <what> tutorial can be found at the <what> Tutorial page.