Template:Achievement infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}}}} - {{{pagelabel\|([^}]+)}}}}}}" to "{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|$1}}}")
m (replacing gamerscore icon)
Line 2: Line 2:
<div class="darker" style="background:#ffffff; border:1px solid #999999; border-radius:0 0 .5em .5em;">
<div class="darker" style="background:#ffffff; border:1px solid #999999; border-radius:0 0 .5em .5em;">
{{#if:{{{img|}}}|<div style="background:#E7E7E7;">{{{img}}}</div>}}
{{#if:{{{img|}}}|<div style="background:#E7E7E7;">{{{img}}}</div>}}
<div class="tier2" style="background:#B9B9B9; color:#000000; text-align:center;">{{{gs}}} [[File:Gamerscore.gif|link=gamerscore]]</div>
<div class="tier2" style="background:#B9B9B9; color:#000000; text-align:center;">{{{gs}}} [[File:HP Icon Gamerscore.png|20px|link=gamerscore]]</div>
<div style="text-align:center;">'''''[[{{{game|Halo}}}]]'''''</div>
<div style="text-align:center;">'''''[[{{{game|Halo}}}]]'''''</div>
</div></div><includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Achievement}}}}}</includeonly><noinclude>
</div></div><includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Achievement}}}}}</includeonly><noinclude>
Line 19: Line 19:
:<code>name=</code> is for name of the achievement.
:<code>name=</code> is for name of the achievement.
:<code>img=</code> is for images.
:<code>img=</code> is for images.
:<code>gs=</code> is for gamerpoints.
:<code>gs=</code> is for gamerscore.
:<code>game=</code> is for game.
:<code>game=</code> is for game.
[[Category:Updated infoboxes|{{PAGENAME}}]]</noinclude>
[[Category:Updated infoboxes|{{PAGENAME}}]]</noinclude>

Revision as of 08:22, December 21, 2020

{{{name}}}
{{{gs}}} Gamerscore

How to use

Simply copy the following:

{{Achievement infobox
|name=
|img=
|gs=
|game=
}}
Notes
name= is for name of the achievement.
img= is for images.
gs= is for gamerscore.
game= is for game.