Template:Talent info: Difference between revisions

(Created page with "<includeonly>{{#description2:{{{description|}}}}} {{Trait infobox | icon = {{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}} | name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | type = Trait | class = {{{class|}}} | specialization = {{{specialization|}}} }} {{#set:Has trait icon={{ucfirst:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}}}}} {{#set:Has trait name={{ucfirst:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}} {{#if:{{{class|}}}|Category:TraitsCategory:{{uc...")
 
m (ZoeyBye moved page Template:Trait info to Template:Talent info without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#description2:{{{description|}}}}}
<includeonly>{{#description2:{{{description|}}}}}
{{Trait infobox
{{Talent infobox
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| type = Trait
| type = Talent
| class = {{{class|}}}
| class = {{{class|}}}
| specialization = {{{specialization|}}}
| specialization = {{{specialization|}}}
}}
}}
{{#set:Has trait icon={{ucfirst:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}}}}}
{{#set:Has talent icon={{ucfirst:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}}}}}
{{#set:Has trait name={{ucfirst:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}}
{{#set:Has talent name={{ucfirst:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}}
{{#if:{{{class|}}}|[[Category:Traits]][[Category:{{ucfirst:{{{class}}}}} traits]]{{#set:Has trait class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if:{{{class|}}}|[[Category:talent]][[Category:{{ucfirst:{{{class}}}}} talents]]{{#set:Has talent class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if: {{{specialization|}}}|{{#arraymap:{{{specialization}}}|,|@@@@@@|[[Category:{{ucfirst:@@@@@@}} traits]]{{#set:Has trait specialization={{ucfirst:@@@@@@}}}}|}}|{{error|Missing 'specialization' parameter.}}}}
{{#if: {{{specialization|}}}|{{#arraymap:{{{specialization}}}|,|@@@@@@|[[Category:{{ucfirst:@@@@@@}} talents]]{{#set:Has talent specialization={{ucfirst:@@@@@@}}}}|}}|{{error|Missing 'specialization' parameter.}}}}
{{#if:{{{description|}}}|{{{description}}}{{#set:Has trait description={{ucfirst:{{{description}}}}}}}|{{error|Missing 'description' parameter.}}}}<div id="ig-tooltip">
{{#if:{{{description|}}}|{{{description}}}{{#set:Has talent description={{ucfirst:{{{description}}}}}}}|{{error|Missing 'description' parameter.}}}}<div id="ig-tooltip">
<div class="d-flex ig-tooltip-header align-items-center"><div class="ig-tooltip-icon me-3">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}|60px|alt={{PAGENAME}}|link=]]</div><div class="d-flex flex-column"><div class="ig-tooltip-title">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">{{#if:{{{specialization|}}}|{{{specialization}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">Trait</div></div></div>
<div class="d-flex ig-tooltip-header align-items-center"><div class="ig-tooltip-icon me-3">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}|60px|alt={{PAGENAME}}|link=]]</div><div class="d-flex flex-column"><div class="ig-tooltip-title">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">{{#if:{{{specialization|}}}|{{{specialization}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">Talent</div></div></div>
<div class="ig-tooltip-body">
<div class="ig-tooltip-body">
{{#if:{{{description|}}}|<div>{{ucfirst:{{{description}}}}}</div>}}
{{#if:{{{description|}}}|<div>{{ucfirst:{{{description}}}}}</div>}}
</div>
</div>
</div></includeonly><noinclude>{{Trait info/Documentation}}</noinclude>
</div></includeonly><noinclude>{{Talent info/Documentation}}</noinclude>

Latest revision as of 00:36, 6 December 2023