Modèle:Tooltip : Différence entre versions
Sauter à la navigation
Sauter à la recherche
(Page créée avec « <onlyinclude><includeonly><!-- No line break to fix alignment on some pages -->{{#switch:{{{mode|}}} |link=[[{{{disambigpage}}}|<span class="ajaxttlink">{{{name}}}</spa... ») |
|||
Ligne 1 : | Ligne 1 : | ||
− | <onlyinclude><includeonly> | + | <onlyinclude><includeonly> |
− | + | {{#switch:{{{mode|}}} | |
− | + | |link={{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}} | |
− | + | |imlink={{#if:{{{icon|}}}|[[Image:{{{icon}}}.png]] }}{{loot|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}} | |
− | + | |arg={{{{{{arg|name}}}|--}}} | |
− | + | |#default=<div class="itemtooltip" style="font-size: {{#ifeq:{{FULLPAGENAME}}|{{{disambigpage|{{{name}}}}}}|1em; float: {{{float|right}}}|0.85em; float: {{{float|left}}}}}; width: {{{width|18em}}};"><!-- | |
− | + | Icon -->{{#if:{{{icon|}}}|{{Icon|{{{icon}}}||{{#ifeq:{{FULLPAGENAME}}|{{{disambigpage|{{{name}}}}}}|3|4}}|float=left|margin=1px}}}} <!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Icon -->{{#if:{{{icon|}}} | ||
− | |||
# SHOW EVERYWHERE # | # SHOW EVERYWHERE # | ||
− | Items Name -->{{#if:{{{name|}}} | + | Items Name -->{{#if:{{{name|}}}|<span style="font-family:serif;font-stretch=narrower;font-variant: small-caps; font-size:1.5em; clear: all;">{{Quality|{{{quality|}}}|{{{disambigpage|{{{name}}}}}}|{{{name}}}|tooltip=1}}</span>}}{{clr}}<ul><!-- |
− | + | ||
− | }}{{ | + | First batch of item details --><!-- |
− | {{{ | + | Item is Single Use -->{{#if:{{{single use|}}}|<li style="color: turquoise">Single Use Recipe }}<!-- |
− | --><noinclude>{{Tooltip/ | + | Item is Unique --><!--{{#ifeq:{{{unique|1}}}|1|-->{{#if:{{{unique|}}}|<li class="grey" style="float: right; clear: all;">[[Unique]]}}<!--|<li class="grey" style="float: right; clear: all;">[[Unique]]{{#if:{{{unique|}}}| ({{{unique}}})}}}}--><!-- |
+ | Items Binding -->{{#switch:{{{bind}}} | ||
+ | |BoA | Acquire =<li class="grey">[[Lié à l'acquisition|Lié à l'acquisition]] | ||
+ | |BtA | Account =<li class="grey">[[Bind to Account|Bind to Account]] | ||
+ | |BoE | Equip =<li class="grey">[[Lié à l'équipement|Lié à l'équipement]]}}<!-- | ||
+ | Item is Indestructible -->{{#if:{{{indestructible|}}}|<li class="khaki">Cannot Be Destroyed }}<!-- | ||
+ | Item is Consumed on use -->{{#if:{{{consumed|}}}|<li class="grey">Détruit à l'utilisation }}<!-- | ||
+ | Item is Cosmetic -->{{#if:{{{cosmetic|}}}|<li class="white">Cosmetic}}<!-- | ||
+ | Item is dyed by default -->{{#if:{{{dye|}}}|<li class="white">[[Dye]]: {{{dye}}}}}<!-- | ||
+ | Item is a Barter item -->{{#if:{{{barter|}}}|<li>Barter Item}}<!-- | ||
+ | Items Type -->{{#if:{{{type|}}}|<li>[[:Category:Objet ({{{type}}})|{{{type}}}]]}}<!-- | ||
+ | Items Slot -->{{#if:{{{slot|}}}|<li>[[:Category:{{{slot}}} Items|{{{slot}}}]]}}<!-- | ||
+ | Item is Housing Decoration -->{{#if:{{{deco-slot|}}}|<li>Decoration Category: [[:Category:Decoration Category: {{{deco-slot}}}|{{{deco-slot}}}]]}}<!-- | ||
+ | Item has recipe cooldown -->{{#if:{{{recipe-cooldown|}}}|<li style="color: teal">Recipe Cooldown: {{{recipe-cooldown}}} }}<!-- | ||
+ | Legendary Item Scroll Modifier -->{{#if:{{{LImodifier|}}}|<li class="grey">{{{LImodifier}}}}}<!-- | ||
+ | |||
+ | ITEM STATS --><!-- | ||
+ | Items Armour -->{{#if:{{{armour|}}}|<div style="height:10px"> </div><li class="khaki">{{{armour}}} [[Armour]]}}<!-- | ||
+ | Items Damage -->{{#if:{{{dmg|}}}|<div style="height:10px"> </div><li>{{{dmg}}} {{#if:{{{dmgtype|}}}|[[{{{dmgtype}}}]] }} Damage}}<!-- | ||
+ | Items DPS -->{{#if:{{{dps|}}}|<li class="khaki">{{{dps}}} [[DPS]]}}<!-- | ||
+ | Items Damage Bonus -->{{#if:{{{bonus|}}}|<li class="darkorchid">{{{bonus}}} {{#if:{{{bonustype|}}}|{{{bonustype}}}}} }}<!-- | ||
+ | Items Attributes -->{{#if:{{{attrib|}}}|<li class="attrib" style="line-height: 1.25em">{{{attrib}}}}}<!-- | ||
+ | --><!-- | ||
+ | |||
+ | ON-USE --><!-- | ||
+ | Items on Use Effect -->{{#if:{{{use|}}}|<div style="height:10px"> </div><li class="darkgreen">Utilisation:<li class="attrib">{{{use}}} }}<!-- | ||
+ | Items Effect Skilltype -->{{#if:{{{skilltype|}}}|<li class="darkgreen">{{{skilltype}}} [[Skill]] }}<!-- | ||
+ | Items Effect Resistance -->{{#if:{{{resistance|}}}|<li class="darkgreen">[[Resistance]]: {{{resistance}}} }}<!-- | ||
+ | Items Effect Radius -->{{#if:{{{radius|}}}|<li class="darkgreen">[[Radius]]: {{{radius}}} }}<!-- | ||
+ | Items Effect Max Targets -->{{#if:{{{maxtargets|}}}|<li class="darkgreen">Max Targets: {{{maxtargets}}} }}<!-- | ||
+ | Items Effect Duration -->{{#if:{{{duration|}}}|<li class="darkgreen">[[Durée]]: {{{duration}}}}}<!-- | ||
+ | Items Effect Maximum Duration -->{{#if:{{{max_duration|}}}|<li class="darkgreen">[[Duration (Item)|Maximum Duration]]: {{{duration}}}}}<!-- | ||
+ | Items Effect Range -->{{#if:{{{range|}}}|<li class="grey">{{{range}}} [[Range]]}}<!-- | ||
+ | Items Effect Expiration -->{{#if:{{{expiration|}}}|<li class="red">Applied on expiration: <li class="attrib">{{{expiration}}}}}<!-- | ||
+ | Items Effect Induction -->{{#if:{{{induction|}}}|<li class="grey">Induction: {{{induction}}}}}<!-- | ||
+ | Items Effect Cooldown -->{{#if:{{{cooldown|}}}|<li class="darkgreen">[[Délai d'attente]]: {{{cooldown}}}}}<!-- | ||
+ | |||
+ | ALL ITEMS --><div style="height:10px"> </div><!-- | ||
+ | Items Durability Class -->{{#if:{{{dur_class|}}}|<li style="float: right;">{{{dur_class}}}}}<!-- | ||
+ | Items Durability -->{{#if:{{{durability|}}}|<li>[[Durabilité]] : {{{durability}}}/{{{durability}}}}}<!-- | ||
+ | |||
+ | REQUIREMENTS --><!-- | ||
+ | Barring Skill(s) -->{{#if:{{{barskill3|}}}|<li class="red">Barring Passive Skill: [[{{{barskill}}}]]: [[{{{barskill2}}}]] | {{#if:{{{barskill2|}}}|<li>Barring Skills: [[{{{barskill}}}]], [[{{{barskill2}}}]] | {{#if:{{{barskill|}}}|<li>Barring Skill: [[{{{barskill}}}]]}}}}}}<!-- | ||
+ | Items Effect Cannot Use-->{{#if:{{{noeffect|}}}|<li class="white">Cannot use with Effect: {{{noeffect}}}}}<!-- | ||
+ | Items characteristic (skill) Requirement old style -->{{#if:{{{characteristic|}}}|<li>Requires: [[{{{characteristic}}}]]}}<!-- | ||
+ | Items skill Requirement new style -->{{#if:{{{skillreq|}}}|<li>Requires: [[{{{skillreq}}}]]}}<!-- | ||
+ | Items Virtue Requirement -->{{#if:{{{virtue|}}}|<li>Requires: [[{{{virtue}}}]], Rank {{{virtuerank}}} }}<!-- | ||
+ | Items Min Level Requirement -->{{#if:{{{level|}}}|<li>Niveau minimum : {{{level}}}}}<!-- | ||
+ | Items Max Level Requirement -->{{#if:{{{maxlevel|}}}|<li>Niveau maximum : {{{maxlevel}}}}}<!-- | ||
+ | Items Faction Requirement -->{{#if:{{{faction|}}}|<li>Requires: {{{standing}}} Standing with [[{{{faction}}}]] }}<!-- | ||
+ | Items Usable in Monsterplay -->{{#if:{{{nomp|}}}|<li>Not useable in Monster Play }}<!-- | ||
+ | Items Class(es) Requirements -->{{#if:{{{class3|}}}|<li>Classes: [[{{{class}}}]], [[{{{class2}}}]], [[{{{class3}}}]] | {{#if:{{{class2|}}}|<li>Classes: [[{{{class}}}]], [[{{{class2}}}]] | {{#if:{{{class|}}}|<li>Class: [[{{{class}}}]]}}}}}}<!-- | ||
+ | Items Race Requirements -->{{#if:{{{race|}}}|<li>Race(s): [[{{{race}}}]]}}<!-- | ||
+ | CPTs Horn rations -->{{#switch:{{{characteristic|}}}| Summoning Horn Use | Summoning Horn use | Summoning horn use | summoning horn use = <div style="height:10px"> </div><li class="darkorchid">Summonee: 5 [[Item:Travelling Ration|Travelling Rations]]}}<!-- | ||
+ | CPTs Horn rations -->{{#switch:{{{skillreq|}}}| Summoning Horn Use | Summoning Horn use | Summoning horn use | summoning horn use = <div style="height:10px"> </div><li class="darkorchid">Summonee: 5 [[Item:Travelling Ration|Travelling Rations]]}}<!-- | ||
+ | Items Quest Requirement -->{{#if:{{{questreq|}}}|<li>You must have completed quest {{{questreq}}}}}<!-- | ||
+ | Items Profession Type Requirement old style -->{{#if:{{{prof|}}}|<li>Requires: {{{proficiency}}} [[{{{prof}}}]] crafting ability}}<!-- | ||
+ | Items Profession Type Requirement new style -->{{#if:{{{profession|}}}|<li>Requires: {{{proficiency}}} [[{{{profession}}}]] crafting ability}}<!-- | ||
+ | Items required Glory rank-->{{#if:{{{gloryrank|}}}|<li>Requires: [[Glory]] Rank {{{gloryrank}}} }}<!-- | ||
+ | Items required Infamy rank-->{{#if:{{{infamyrank|}}}|<li>Requires: [[Infamy]] Rank {{{infamyrank}}} }}<!-- | ||
+ | Items Begin Quest -->{{#if:{{{bquest|}}}|<li>Starts Quest: [[Quest:{{{bquest}}}|{{{bquest}}}]]}}<!-- | ||
+ | |||
+ | RELIC INFO --><!-- | ||
+ | Relic Header & Name -->{{#if:{{{relic-name|}}}|<li style="color: white; font-family:Times,TimesNR,serif; font-variant:small-caps; font-weight:lighter; letter-spacing:1.5px; font-size:120%; line-height: 1em">Relics</li><li style="color: tan; font-family:Times,TimesNR,serif; font-variant:small-caps; font-weight:lighter; letter-spacing:1.5px; line-height: 1em">{{{relic-name}}}</li>}}<!-- | ||
+ | Relic Icon -->{{#if:{{{relic-icon|}}}|<li style="float: left; overflow: auto; width: 20%">[[Image:{{{relic-icon}}}.png]] }}<!-- | ||
+ | Relic Attrib(s) -->{{#if:{{{relic-attrib|}}}|<li style="float: left; overflow: auto; width: 80%; line-height: 1.25em; color: limegreen; font-weight:lighter; font-size:90%">{{{relic-attrib}}}<br><br>}}<!-- | ||
+ | |||
+ | ALL ITEMS --><!-- | ||
+ | # SHOW ONLY ON OWN PAGE# -->{{#ifeq:{{FULLPAGENAME}}|{{{disambigpage|{{{name}}}}}}|<!-- | ||
+ | Items Set Full-->{{#if: {{{set|}}}|<div style="height:10px"> </div>}}{{{{#if: {{{set|}}}|:{{{set}}}|Blank}}|mode=itemtip}}<!-- | ||
+ | Items Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<div style="height:10px"> </div><li class="flavor">"{{{flavor|{{{desc|{{{comment}}}}}}}}}"}}<!-- | ||
+ | Items Vendor Price -->{{#if:{{{vendor|}}}|<div style="height:10px"> </div><li>Prix d'achat : {{{vendor}}}}}<!-- | ||
+ | Items Sell Price -->{{#if:{{{sell|}}}|<div style="height:10px"> </div><li>Valeur : {{{sell}}}}}<!-- | ||
+ | --><div style="height:10px"> </div><!-- | ||
+ | No. of Items that will Stack -->{{#if:{{{stack|}}}|<li>''Empilable par {{{stack}}} unités''}}<!-- | ||
+ | |||
+ | <!-- | ||
+ | AUTO-CATEGORIZATION STARTS HERE | ||
+ | --> | ||
+ | {{#if: {{{quest-reward|}}} | [[Category:Quest Reward Items]]}} | ||
+ | {{#if: {{{main-category|}}} | [[Category:{{{main-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{first-category|}}} | [[Category:{{{first-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{second-category|}}} | [[Category:{{{second-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{third-category|}}} | [[Category:{{{third-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{fourth-category|}}} | [[Category:{{{fourth-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{fifth-category|}}} | [[Category:{{{fifth-category}}}|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{class|}}} | [[Category:Objet ({{{class}}})|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{class2|}}} | [[Category:{{{class2}}} Items|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{type|}}} | [[Category:Objet ({{{type}}})|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{cosmetic|}}} | [[Category:Cosmetic Items|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{barter|}}} | [[Category:Barter Items|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{deco-slot|}}} | [[Category:Decoration Category: {{{deco-slot}}}|{{PAGENAME}}]] }} | ||
+ | {{#if: {{{prof|}}} | [[Category:{{{prof}}} Items|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{profession|}}} | [[Category:{{{profession}}} Items|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{level|}}} | [[Category:Objet (Niveau {{{level}}})|{{PAGENAME}}]]}} | ||
+ | {{#if: {{{slot|}}} | | ||
+ | {{ #switch: {{{slot|}}} | ||
+ | | ear |Ear = [[Category:Ear Items|{{PAGENAME}}]] | ||
+ | | neck |Neck = [[Category:Neck Items|{{PAGENAME}}]] | ||
+ | | wrist |Wrist = [[Category:Wrist Items|{{PAGENAME}}]] | ||
+ | | finger |Finger = [[Category:Finger Items|{{PAGENAME}}]] | ||
+ | | #default = [[Category:{{{slot}}} Items|{{PAGENAME}}]] | ||
+ | }} }} | ||
+ | {{ #switch: {{{quality|}}} | ||
+ | | epic |Epic = [[Category:Objet (Épique)|{{PAGENAME}}]] | ||
+ | | incomparable |Incomparable = [[Category:Objet (Incomparable)|{{PAGENAME}}]] | ||
+ | | rare |Rare = [[Category:Objet (Rare)|{{PAGENAME}}]] | ||
+ | | uncommon |Uncommon = [[Category:Objet (Peu commun)|{{PAGENAME}}]] | ||
+ | | common |Common | #default = [[Category:Objet (Commun)|{{PAGENAME}}]] | ||
+ | | #default = [[Category:Objet ({{{quality}}})|{{PAGENAME}}]] | ||
+ | }}<!-- | ||
+ | AUTO-CATEGORIZATION ENDS HERE | ||
+ | --><!-- | ||
+ | |||
+ | # SHOW ONLY OFF OWN PAGE # -->|<!-- | ||
+ | Item Set Short -->{{#if:{{{set|}}}|<div style="height:10px"> </div><li class="set">Set: [[{{{set}}}]]}}<!-- | ||
+ | Items Vendor Price -->{{#if:{{{vendor|}}}|<div style="height:10px"> </div><li>Prix d'achat: {{{vendor}}}}}<!-- | ||
+ | Items Sell Price -->{{#if:{{{sell|}}}|<div style="height:10px"> </div><li>Valeur: {{{sell}}}}}<!-- | ||
+ | |||
+ | #End Check# -->}}<!-- | ||
+ | End Tooltip --></ul></div>}} | ||
+ | </includeonly></onlyinclude> | ||
+ | |||
+ | <noinclude> | ||
+ | {{Tooltip/usage}} | ||
+ | [[Category:General Wiki Templates|Tooltip]]</noinclude> |
Version du 20 mai 2013 à 22:41
Using the Template
- Copy/Paste the template found at the top of the Discussion page onto the Item's page.
Meaning Behind the Parameters
Name:
Basic Info:
Stats:
On-Use Details:
Requirements:
Info:
|