Template:Pantheon link

From GodWiki
Revision as of 12:36, 21 December 2019 by WardPhoenix (talk | contribs) (fixed name)
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)
Jump to navigation Jump to search

๐Ÿ† Pantheon of Gratitude 

[view] [edit] [history] [refresh]
๐Ÿ“š 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]].)


(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), words (links to Wordcraft), 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

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