Template:Magazine Iterator

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

Creates a link to the next issue of a magazine, if it exists

Parameters[edit]

Note: This supports both positional and named arguments. If using named arguments, positional arguments should not be used.

Magazine Iterator
Parameter Scope Description
magazine (1) required The magazine to link to.
magissue (2) required The current issue of the magazine.
iter (3) required How many issues ahead to go, typically this will be 1 (next issue) or -1 (previous issue)
missing optional The text to display if the issue wasn't found (default: nothing)

Examples[edit]

{{Magazine Iterator|GRUNT|5|1}}

GRUNT Issue 06

{{Magazine Iterator|GRUNT|5|-1}}

GRUNT Issue 04

{{Magazine Iterator|GRUNT|9|1}}

GRUNT Issue 10

{{Magazine Iterator|Va'ruun Scripture|8|1}}

Va'ruun Scripture 09

{{Magazine Iterator|Va'ruun Scripture|9|1}}


{{Magazine Iterator|Kryx's Journal|1|1}}

Kryx's Journal Entry 02

{{Magazine Iterator|GRUNT|10|1|Does not exist}}

Does not exist