Template:LoH/MissionLink: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(added some documentation)
No edit summary
Line 18: Line 18:
|15=[[LoH/issues/Crisis in Kruna: Part 3|Issue #15]]
|15=[[LoH/issues/Crisis in Kruna: Part 3|Issue #15]]
|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>
<noinclude>
== Documentation ==
== Documentation ==



Revision as of 10:18, 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.