Difference between revisions of "Template:UserSkill"

From Wiki
Jump to: navigation, search
 
Line 1: Line 1:
<includeonly>
+
<onlyinclude>
 
<div style="background:{{#if: {{{background|}}}|{{{background}}}|#DCE3F7}}; width:57px; height:38px; border:{{#switch:{{{level}}}|Grandmaster= 3px solid gold|Legendary= 3px solid gold| }}; padding:-10px;">
 
<div style="background:{{#if: {{{background|}}}|{{{background}}}|#DCE3F7}}; width:57px; height:38px; border:{{#switch:{{{level}}}|Grandmaster= 3px solid gold|Legendary= 3px solid gold| }}; padding:-10px;">
 
<div style="position:relative; left:-1px; top:-1px;">[[Image:{{{skillname}}}.gif|62px]]</div>
 
<div style="position:relative; left:-1px; top:-1px;">[[Image:{{{skillname}}}.gif|62px]]</div>
 
</div>
 
</div>
</includeonly>
+
</onlyinclude>
 
<noinclude>
 
<noinclude>
 
This template is used to create a nice looking flag icon representing skills in UO.
 
This template is used to create a nice looking flag icon representing skills in UO.

Latest revision as of 22:21, 17 June 2010

[[Image:{{{skillname}}}.gif|62px]]


This template is used to create a nice looking flag icon representing skills in UO.

Use

The following example will display the icon below.

{{UserSkill
|skillname=Evaluate_Intelligence
|level=Legendary
}}
Evaluate Intelligence.gif


Parameters

skillname

Usable values are as follows:

Alchemy Cooking Lumberjacking Snooping
Anatomy Detect_Hidden Mace_Fighting Spellweaving
Animal_Lore Discordance Magery Spirit_Speak
Animal_Taming Evaluate_Intelligence Meditation Stealing
Archery Fencing Mining Stealth
Arms_Lore Fishing Musicianship Swordsmanship
Begging Focus Necromancy Tactics
Blacksmithy Forensic_Evaluation Ninjitsu Tailoring
Bowcraft Healing Parrying Taste_Identification
Bushido Herding Peacemaking Tinkering
Camping Hiding Poisoning Tracking
Carpentry Inscription Provocation Veterinary
Cartography Item_Identification Remove_Trap Wrestling
Chivalry Lockpicking Resisting_Spells

level

Usable values are as follows:

Grandmaster Legendary

background

The background parameter may be any hex color (e.g. #DCE3F7 - the default) or named color (e.g. red, lightgreen, gold, etc). Note that the flags have a drop shadow that does not use alpha, so if the color is too dark, you will notice and ugly white/gray bit around the flag.