Template:LoH/MissionLink: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
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]]
|S1=[[LoH/issues/Phantoms of Phaeton|Issue S1]]
|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!

Revision as of 10:04, 25 July 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.