Difference between revisions of "Template:Viewer skin"
Jump to navigation
Jump to search
m (wiki-typo) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:author|{{{author|no author specified}}}}}{{#vardefine:wiki_info|{{{wiki_info|{{PAGENAME}}}}}}}{{#vardefine:skin_name|{{{skin_name|{{SUBPAGENAME}}}}}}}{{#vardefine:wiki_source|{{{wiki_source|{{#var:wiki_info}}/source}}}}}{{#vardefine:skin_image|{{{skin_image|{{#var:skin_name}}.jpg}}}}}<div style="float:right;"> | <includeonly>{{#vardefine:author|{{{author|no author specified}}}}}{{#vardefine:wiki_info|{{{wiki_info|{{PAGENAME}}}}}}}{{#vardefine:skin_name|{{{skin_name|{{SUBPAGENAME}}}}}}}{{#vardefine:wiki_source|{{{wiki_source|{{#var:wiki_info}}/source}}}}}{{#vardefine:skin_image|{{{skin_image|{{#var:skin_name}}.jpg}}}}}<div style="float:right;"> | ||
{|style="background: | {|style="border:1px solid #A3B1BF; background:#f5faff !important;" | ||
|- | |- | ||
! style="text-align:right;vertical-align:top;" | By: | ! style="text-align:right;vertical-align:top;" | By: | ||
Line 20: | Line 20: | ||
{{{description|no description}}} | {{{description|no description}}} | ||
{{#ifeq:{{{inline_source|}}}|*|{{#ifexist:{{#var:wiki_source}}|<div id="source">{{:{{#var:wiki_source}}}}</div>}}|}} | {{#ifeq:{{{inline_source|}}}|*|{{#ifexist:{{#var:wiki_source}}|<div id="source">{{:{{#var:wiki_source}}}}</div>}}|}} | ||
[[Category:Viewer Skins|{{#var:skin_name}}]]</includeonly><noinclude> | |||
The template is coded with the following article structure in mind: | |||
* Viewer Skins/'''skin name''' | |||
* Viewer Skins/'''skin name'''/''source'' | |||
== template variables == | |||
=== Required/ Suggested === | |||
* author - the name of the Resident who created the skin | |||
* skin_name - the name of the skin (auto-detection is currently broken it seems) | |||
* skin_image - the filename of the image. Don't include the Image: prefix. | |||
* summary - a brief description of the skin (will be used for the image thumbnail description) | |||
* description - a more in-depth description of the skin | |||
=== optional === | |||
* wiki_info - if there is further info on the skin in another wiki article | |||
* external_info - if there is further info on the skin on another website | |||
* inline_source - For those skins that consist of colors.xml modifications only, when set to '''*''', this variable will cause the source code for the colors.xml skin to be displayed in the same article the template has been implemented on. | |||
</noinclude> |
Latest revision as of 03:48, 29 September 2010
The template is coded with the following article structure in mind:
- Viewer Skins/skin name
- Viewer Skins/skin name/source
template variables
Required/ Suggested
- author - the name of the Resident who created the skin
- skin_name - the name of the skin (auto-detection is currently broken it seems)
- skin_image - the filename of the image. Don't include the Image: prefix.
- summary - a brief description of the skin (will be used for the image thumbnail description)
- description - a more in-depth description of the skin
optional
- wiki_info - if there is further info on the skin in another wiki article
- external_info - if there is further info on the skin on another website
- inline_source - For those skins that consist of colors.xml modifications only, when set to *, this variable will cause the source code for the colors.xml skin to be displayed in the same article the template has been implemented on.