Template:Action infobox: Difference between revisions

add image
m (fix dumb)
(add image)
Line 1: Line 1:
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black"
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|-
{{#if: {{{image|}}} |
{{!}}-
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]]
}}
|-
|-
{{#if:{{{flags|}}}{{{group|}}}{{{id|}}}{{{hex|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Properties</span>'''
{{#if:{{{flags|}}}{{{group|}}}{{{id|}}}{{{hex|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Properties</span>'''
Line 61: Line 66:
<div style="float:right"><pre>{{Action_infobox
<div style="float:right"><pre>{{Action_infobox
|title=
|title=
|image=
|hex=
|hex=
|flags=
|flags=
Line 71: Line 77:
}}</pre></div>
}}</pre></div>
title- the title of the action (defaults to pagename)
title- the title of the action (defaults to pagename)
image- the image for the action


hex- the hex code of the action. The ID OR'd by the flags. Unique for every action.
hex- the hex code of the action. The ID OR'd by the flags. Unique for every action.