User:Djonni/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:
- Main Page β (β links)
- Talk:Main Page β (β links)
- Djonni (transclusion) β (β links)
- Template talk:Hero β (β links)
- User:Djonni/Template sandbox (transclusion) β (β links)
- User talk:FeRDNYC β (β links)
- User talk:Djonni β (β links)
- User:Some atheist (transclusion) β (β links)
- Sand Devil (transclusion) β (β links)
- User:Djonni/Sandbox (transclusion) β (β links)
- User:WardPhoenix (transclusion) β (β links)
- Template:Godwiki event banner β (β links)
- User:S624 (transclusion) β (β links)
- User talk:Sand Devil (transclusion) β (β links)
- User talk:WardPhoenix/Archive (transclusion) β (β links)
- User:WardPhoenix/Sandbox (transclusion) β (β links)
- User:Arkhen Thean (transclusion) β (β links)
- User:Jaguar of Awesome (transclusion) β (β links)
- User:Emptysora (transclusion) β (β links)
- User:Elantien/Sandbox (transclusion) β (β links)
- User talk:Arkhen Thean β (β links)
- User:Cameil (transclusion) β (β links)
- User:Mykus Aditus (transclusion) β (β links)
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
- headercolor
- datacolor
- Unstable These parameters can be used instead of
|highlighthex=RRGGBB
to specify a color for the headers and labels (with|headercolor=
) and the data cells (with|datacolor=
). These parameters will cause|highlighthex=
to be ignored in the relevant places. - Any valid HTML color value can be set here. Hex values (including the leading #:
#RRGGBB
), color names (purple
), etc.
- bordercolor
- If you must, you can.
- imagestyle
- captionstyle
- abovestyle
- belowstyle
- navstyle
- headerstyle
- labelstyle
- datastyle
- Know CSS? Want to place your own custom CSS into any of these fields? Go ahead! The contents of these parameters will be passed directly to
{{Infobox}}
after the default styles, meaning that the values you supply here will overwrite and replace what comes before them. This will allow you to create your own interesting, spectaular, creative and horrible styles for your Usergod infobox. With great power comes greatly ugly infoboxes. - Below is the way the style parameters here are placed, for clarity:
| imagestyle = padding:0;background: #{{{highlighthex|ABB2B9}}}33; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{imagestyle|}}} | captionstyle = background: #{{{highlighthex|ABB2B9}}}33; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{captionstyle|}}} | abovestyle = background: {{{headercolor|#{{{highlighthex|ABB2B9}}}}}}; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{abovestyle|}}} | belowstyle = background: {{{headercolor|#{{{highlighthex|ABB2B9}}}}}}; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{belowstyle|}}} | navstyle = background: {{{headercolor|#{{{highlighthex|ABB2B9}}}}}}; padding-right:0.5em; {{{navstyle|}}} | headerstyle = background: {{{headercolor|#{{{highlighthex|ABB2B9}}}}}}; border-bottom: 2px solid #f8f9fa; {{{headerstyle|}}} | labelstyle = background: {{{headercolor|#{{{highlighthex|ABB2B9}}}}}}; vertical-align: top; min-width: 8em; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{labelstyle|}}} | datastyle = background: {{{datacolor|#{{{highlighthex|ABB2B9}}}33}}}; vertical-align: top; min-width: 12em; border-bottom: 2px solid {{{bordercolor|#f8f9fa}}}; {{{datastyle|}}}
- 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.