Template:LoH/MissionLink: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
(added some documentation)
Line 1: Line 1:
{{#switch: {{{1|0}}}
{{#switch: {{{1}}}
|1=[[LoH/issues/School Daze|Issue #1]]
|1=[[LoH/issues/School Daze|Issue #1]]
|2=[[LoH/issues/Between the Ropes|Issue #2]]
|2=[[LoH/issues/Between the Ropes|Issue #2]]
Line 9: Line 9:
|8=[[LoH/issues/Emergent Behavior|Issue #8]]
|8=[[LoH/issues/Emergent Behavior|Issue #8]]
|9=[[LoH/issues/Absolute Reckoning|Issue #9]]
|9=[[LoH/issues/Absolute Reckoning|Issue #9]]
|9.1=[[LoH/issues/Trick or Trick|Issue 9.1]]
|10=[[LoH/issues/Back Issues: Part 1|Issue #10]]
|10=[[LoH/issues/Back Issues: Part 1|Issue #10]]
|11=[[LoH/issues/Back Issues: Part 2|Issue #11]]
|11=[[LoH/issues/Back Issues: Part 2|Issue #11]]
|12=[[LoH/issues/Back Issues: Part 3|Issue #12]]
|12=[[LoH/issues/Back Issues: Part 3|Issue #12]]
|12.1=[[LoH/issues/Second Chances|Issue 12.1]]
|13=[[LoH/issues/Crisis in Kruna: Part 1|Issue #13]]
|13=[[LoH/issues/Crisis in Kruna: Part 1|Issue #13]]
|14=[[LoH/issues/Crisis in Kruna: Part 2|Issue #14]]
|14=[[LoH/issues/Crisis in Kruna: Part 2|Issue #14]]
Line 17: Line 19:
|Sorry, don't know the name of issue {{{1}}}. Please edit [[Template:LoH/MissionLink]] to include it!
|Sorry, don't know the name of issue {{{1}}}. Please edit [[Template:LoH/MissionLink]] to include it!
}}
}}
<noinclude>
== Documentation ==
This is a simple template which turns an issue number into a link to that issue. So, for instance, <nowiki>{{LoH/MissionLink|4}}</nowiki> produces [[LoH/issues/Hat's All, Folks!|Issue #4]].
It works by using a giant switch statement, which is currently populated up through issue 15 (assuming that the rest of Volume 3 follows the same naming pattern). Future issues will have to be added by hand for this template to continue to work properly.
</noinclude>

Revision as of 10:16, 4 May 2013

Sorry, don't know the name of issue {{{1}}}. Please edit Template:LoH/MissionLink to include it!

Documentation

This is a simple template which turns an issue number into a link to that issue. So, for instance, {{LoH/MissionLink|4}} produces Issue #4.

It works by using a giant switch statement, which is currently populated up through issue 15 (assuming that the rest of Volume 3 follows the same naming pattern). Future issues will have to be added by hand for this template to continue to work properly.