Difference between revisions of "Template:Islandlink"

From Twinsuniverse
Jump to: navigation, search
m
Line 45: Line 45:
  
  
You may leave the "island" undefined (which does not raise any maintenance task), by not specifying any valid value, so these all have the same result (nothing displayed):
+
You may leave the "island" undefined (which does not raise any maintenance task), by not specifying any nonempty value, so these all have the same result (nothing displayed):
 
  <nowiki>{{islandlink|twinsun}}</nowiki>
 
  <nowiki>{{islandlink|twinsun}}</nowiki>
 
  <nowiki>{{islandlink|twinsun|}}</nowiki>
 
  <nowiki>{{islandlink|twinsun|}}</nowiki>

Revision as of 19:03, 25 November 2012

This template formats island links in the special Twinsun, Emerald Moon, Zeelich's Surface and Zeelich's Undergas themes. There is no automatic categorization.

Parameters

  1. The shortname of any of the four planet stages, one of the following (values are case insensitive):
    • twinsun
    • moon
    • zeelich
    • undergas
    • any other value will render a normal link.
  2. The articlename of the island to link to (value is case sensitive, defaults to nothing displayed)

Examples

Common use includes both parameters:

{{islandlink|twinsun|Citadel Island}}
{{islandlink|moon|Main Building}}
{{islandlink|zeelich|Otringal}}
{{islandlink|undergas|Island of the Wannies}}
Citadel Island
Main Building
Otringal
Island of the Wannies


You may leave the "planet" undefined (which does not raise any maintenance task), by not specifying any valid value, so these all have the same result:

{{islandlink|2=Otringal}}
{{islandlink||2=Otringal}}
{{islandlink||Otringal}}
{{islandlink|1=|Otringal}}
{{islandlink|1=    |Otringal}}
{{islandlink|Trouble|Otringal}}
{{islandlink|Earth|Otringal}}
{{islandlink|Twinsuniverse|Otringal}}
Otringal


You may leave the "island" undefined (which does not raise any maintenance task), by not specifying any nonempty value, so these all have the same result (nothing displayed):

{{islandlink|twinsun}}
{{islandlink|twinsun|}}
{{islandlink|twinsun|1=}}
{{islandlink|twinsun|1=   }}
{{islandlink|twinsun|5=}}