Template:Pantheon link

From GodWiki
Jump to: navigation, search

πŸ† Pantheon of Gratitude

[view] [edit] [history] [refresh]
Documentation  Documentation

Use {{Pantheon link|pantheon|position}} when you want to create a link to a pantheon on the main godvillegame.com page. (To create a link to the Godwiki article about a Pantheon, just use [[Pantheon of pantheon]].)

Parameters

(All parameters are optional, however if the template is called without parameters it defaults to πŸ† Pantheon of Gratitude.)

Unnamed parameters

1. Pantheon name

Any of the following values will work, and are not case sensitive. These don't always match the names of the Pantheon (discrepancies are noted), but instead match the URL for the Pantheon on the godvillegame.net main site:
  • Long term: gratitude, might, templehood, gladiatorship, storytelling
  • Short term: mastery, construction, taming, survival, savings, creation, destruction, wood (links to Arkeology), pairs (links to Catch), duelers_nt (Duelers junior), duelers_t (Duelers senior)
  • Guild: unity, popularity, duelery, adventure
Any other value will default to the Pantheon of Gratitude.

2. Position

Omitting this parameter will link to the first page in the pantheon. A value of 0 will also link to the first page of the pantheon, and show 0th in the link text. A negative value will lead the Godville website to jump to the pantheon position of the logged-in user (the user who clicks the link, not the user who wrote the link), and will show the negative number as an ordinal (e.g. -1st). A non-numerical value will result in an ugly error.

The pantheon must be specified before the position. The order and position of named parameters doesn't matter.

Named parameters

|plain=yes
If the parameter |plain=yes is specified, the generated link will be output as a simple text link, without the template's usual decoration (the trophy icon and surrounding box). This can be useful in contexts where less "fancy" links are desired.
|text=short or none
short will omit "Pantheon of" from the pantheon name displayed, and abbreviate "junior" and "senior" to "jr" and "sr".
none will only show the position number.
Any other value will be ignored, and produce the default full "Pantheon of Pantheon" text.

Examples of use

Wikicode Output
{{Pantheon link}} πŸ† Pantheon of Gratitude
{{Pantheon link|might}} πŸ† Pantheon of Might
{{Pantheon link|might|plain=yes}} Pantheon of Might
{{Pantheon link|wood|102}} πŸ† Pantheon of Arkeology: 102nd
{{Pantheon link|wood|102|plain=yes}} Pantheon of Arkeology: 102nd
{{Pantheon link|incorrect|99}} πŸ† Pantheon of Gratitude: 99th
{{Pantheon link|incorrect|99|plain=yes}} Pantheon of Gratitude: 99th
{{Pantheon link|text=short|pairs|300}} πŸ† Catch: 300th
{{Pantheon link|text=short|plain=yes|pairs|300}} Catch: 300th
{{Pantheon link|gratitude|50|text=none}} πŸ† 50th
{{Pantheon link|gratitude|50|text=none|plain=yes}} 50th
{{Pantheon link|duelers_nt|455}} πŸ† Pantheon of Duelers (junior): 455th
{{Pantheon link|duelers_nt|455|text=short}} πŸ† Duelers (jr): 455th