Difference between revisions of "Template:TutorialHeader"

From GMOD
Jump to: navigation, search
m
m (documenting template)
Line 1: Line 1:
 +
<noinclude>
 +
Template to create a header for a tutorial page.
 +
 +
Specify the variables thus:
 +
 +
<nowiki> {{ TutorialHeader
 +
| what = <tool name>
 +
| where = <conference/venue name; wikitext OK>
 +
| when = <date>
 +
| who = <presenter; wikitext OK>
 +
| logo = <link to logo>
 +
}} </nowiki>
 +
 +
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>
 +
 
[[File:{{{logo}}}|center|250px|{{{what}}}]]
 
[[File:{{{logo}}}|center|250px|{{{what}}}]]
  
This [[{{{what}}}]] tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}. The most recent {{{what}}} tutorial can be found at the [[{{{what}}} Tutorial]] page.
+
This [[{{{title}}}|{{{what}}}]] tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}. The most recent {{{what}}} tutorial can be found at the [[{{{what}}} Tutorial]] page.
  
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Revision as of 19:52, 3 October 2012

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.


[[File:{{{logo}}}|center|250px|{{{what}}}]]

This [[{{{title}}}|{{{what}}}]] tutorial was presented by {{{who}}} at the {{{where}}}, {{{when}}}. The most recent {{{what}}} tutorial can be found at the [[{{{what}}} Tutorial]] page.