From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
m (right place in templates)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div style="float:{{{float|right}}};margin:5px 5px 5px 5px;border:1px solid #7d87bc;background-color:#d0d5f1;padding:3px;">
<div style="float:{{{float|right}}};margin:5px 5px 5px 5px;border:1px solid #7d87bc;background-color:#d0d5f1;padding:3px;">
<div style="padding-top:10px">[[Image:{{{icon}}}|left|50px]]
<div style="padding-top:10px">[[File:{{{icon}}}|left|50px]]
<div style="margin-left:55px;text-align:{{{align|center}}}">{{{description}}}</div></div></div><noinclude>
<div style="margin-left:55px;text-align:{{{align|center}}}">{{{description}}}</div></div></div><noinclude>


Template that displays a description along with an icon
Template that displays a description along with an icon.
 
<pre>{{iconbox
|icon=imagename.jpg
|description=text description
|float=
|align=
}}</pre>
 
*''icon'': An image for use as an icon. Displays at 50px width.
*''description'': Your text goes here.
*''float'' (optional): Floats the entire box to the left or right, defaults to right.
*''align'' (optional): Aligns the text: left, right, center, justify. Defaults to center.


[[Category:Templates|I]]</noinclude>
[[Category:Templates|I]]</noinclude>

Latest revision as of 14:51, 26 May 2021

[[File:{{{icon}}}|left|50px]]
{{{description}}}

Template that displays a description along with an icon.

{{iconbox
|icon=imagename.jpg
|description=text description
|float=
|align=
}}
  • icon: An image for use as an icon. Displays at 50px width.
  • description: Your text goes here.
  • float (optional): Floats the entire box to the left or right, defaults to right.
  • align (optional): Aligns the text: left, right, center, justify. Defaults to center.