Difference between revisions of "Template:TutorialHeader"

From GMOD
Jump to: navigation, search
m (Template for tutorial headers)
 
m (editing tutorial header)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="C">{{{logo}}}</div>
+
<noinclude>
This {{{what}}} tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}.
+
Template to create a header for a tutorial page.
 +
 
 +
Specify the variables thus:
 +
 
 +
<pre>{{ TutorialHeader
 +
| what = <tool name>
 +
| where = <conference/venue name; wikitext OK>
 +
| when = <date>
 +
| who = <presenter; wikitext OK>
 +
| logo = <link to logo>
 +
}}
 +
</pre>
 +
 
 +
and they will come out looking like this:
 +
 
 +
<div class="indent">
 +
<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.
 +
</div>
 +
</noinclude>
 +
<includeonly>
 +
[[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.
 +
</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.