Difference between revisions of "Template:Viewer skin"

From Second Life Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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;">
<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:transparent !important;"
{|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}}}


== Installation Instructions ==
{{{instructions|
# Find your Second Life installation folder
# Go into the '''\skins\silver''' directory, and create a backup of '''colors.xml'''
# Download the [[#source|source]] for this skin and save it as '''colors.xml''' in the '''app_settings''' directory, overwriting the original file if necessary.
}}}


{{#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>}}|}}

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.