Difference between revisions of "Template:Reputation"

From Wowpedia
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>[[{{#if:{{{2|}}}|{{{2|}}}|{{{1}}}}}|<span class="rep-{{lc:{{{1|}}}}}" title="{{ucfirst:{{{1|}}}}}">{{{3|{{{2|{{{1}}}}}}}}}</span>]]</onlyinclude></includeonly>{{documentation}}
+
<includeonly><onlyinclude>[[{{#if:{{{2|}}}|{{{2|}}}|{{#ifeq:{{lc:{{{1}}}}}|paragon|Reputation#Paragon|{{{1}}}}}}}|<span class="rep-{{lc:{{{1|}}}}}" title="{{ucfirst:{{{1|}}}}}">{{{3|{{{2|{{{1}}}}}}}}}</span>]]</onlyinclude></includeonly>{{documentation}}

Latest revision as of 21:10, 20 September 2020

Description
Displays the given text as a link with the desired reputation color.
Syntax
{{rep|<reputation>|<item page link>|<display text>}}
{{reputation|<reputation>|<item page link>|<display text>}}
Example
{{reputation|hated|Bloodsail Buccaneers}} : Bloodsail Buccaneers
{{reputation|exalted|Booty Bay|Booty Bay (faction)}} : Booty Bay (faction)
{{reputation|friendly}} : friendly
{{reputation|friendly||A H}} : A H
Possible Values for reputation (first parameter)
hated
hostile
unfriendly
neutral
friendly
honored
revered
exalted