User:Djonni/Template sandbox

From GodWiki
< User:Djonni
Revision as of 11:26, 12 October 2019 by Djonni (talk | contribs) (No longer uses ugly placeholder image. I wouldn't want it on my page, why would anyone?)
Jump to: navigation, search
Gods of Godville
GodDjonni/Template sandbox 
πŸ“š Documentation

Brief documentation of parameters.

This template is NOT stable. You're welcome to use and test it, but be aware, I may make changes without warning. If I do see anyone using it, I'll drop you a message on your talk page if something changes.

This is a list of pages (therefore users) that link to this page:

I have (hopefully) incorporated all variables used in {{Usergod}}, so that this can be a drop-in replacement. (TODO: examine the Usergod code to ensure I haven't missed any undocumented variables)

title
A title to place before the God's name. In my user page, |title=God
name
The name of the God. This is only required if the current {{PAGENAME}} is not the God's name. So, should basically never be needed, I expect.
All parameters of the {{medal}} template
These will correctly render as medals in {{God}}. Considering also creating an Achievements section below Pantheons which would show these somehow.
postnomial
A title for after the God's name. In my user page, |postnomial=the Great
subheader
As per {{infobox}}
highlighthex
This is a tricky/clever one which I know, with respect, that FeRDNYC will hate. Don't worry, I intend to implement a fuller set of colour and styling parameters! But honestly, take a look at the code. Clever, right? Single variable, and BAM, coherent colour scheme.
This parameter takes a six-character hex code for the highlight colour (headers, row labels), without a # in front, in RRGGBB format. For example, |highlighthex=FFBB88
avatar
As {{Usergod}}, except that for now this uses a placeholder image. I've since taken a took, and there are users of Usergod who haven't put avatar images in, so this will be changed.
caption
As per {{infobox}}
hero
heroine
personality
gender
motto
town
guild
All as per existing {{Usergod}}
domain
The God's "domain", their area of influence in the world.

Guild parameters

position
A position in a guild's organisation.
rank
Guild rank

Pantheon parameters

gratitude
might
templehood
gladiatorship
storytelling
Unstable Currently, these parameters take just the position number. This may (probably will) be changed somehow.