Template:LoH/MissionLink: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
|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]]
|15=[[LoH/issues/Crisis in Kruna: Part 3|Issue #15]]
|S1=[[LoH/issues/Phantoms of Phaeton|Issue S1]]
|15=[[LoH/issues/Archival of the Fittest|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>
Line 23: Line 24:
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]].
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.
It works by using a giant switch statement, which is currently populated up through issue 15. Future issues will have to be added by hand for this template to continue to work properly.
</noinclude>
</noinclude>

Latest revision as of 12:04, 27 August 2013

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

Documentation[edit]

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. Future issues will have to be added by hand for this template to continue to work properly.