Template:Achievement infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "0 0 10px 15px" to "0 0 0.75em 1em")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="float:right; clear:right; margin:0 0 0.75em 1em; width:150px; text-align:center;">{{{name}}}
<div style="width:150px; text-align:center; float:right; clear:right; margin:0 0 1em 1em">{{{name}}}
<div style="background:#ffffff; border:1px solid #999999; border-radius:0 0 .5em .5em;">
<div class="darker" style="background:#fff; border:1px solid #999; border-radius:0 0 10px 10px">
{{#if:{{{img|}}}|<div style="background:#E7E7E7;">{{{img}}}</div>}}
{{#if:{{{img|}}}|<div style="background:#E7E7E7">{{{img}}}</div>}}
<div style="background:#B9B9B9; color:#000000; text-align:center;">{{{gs}}} [[File:Gamerscore.gif|link=gamerscore]]</div>
<div class="tier2" style="background:#B9B9B9; color:#000; 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; border-radius:0 0 10px 10px">'''''[[{{{game|Halo (disambiguation)}}}]]'''''</div>
</div></div><noinclude>
</div></div><includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Achievement}}}}}</includeonly><noinclude>{{clear}}
== How to use ==
== Usage instructions ==
Simply copy the following:
Simply copy the following:
<pre>
<pre>
{{Achievement infobox
{{Achievement infobox
|name=
|img=
|img=
|gs=
|gs=
Line 16: Line 18:


;Notes
;Notes
:<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:Infobox templates]]</noinclude>

Latest revision as of 10:11, June 14, 2024

{{{name}}}

Usage instructions

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.