Template:Infocol: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(New page: {| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 22em" cellspacing="0" cellpadding="3" {{{1}}} |}<noinclude> This is the ...)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 22em" cellspacing="0" cellpadding="3"
{| class="infobox" style="float: right; border-left: 1px solid #aaa; border-right: 1px solid #aaa; border-top: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 22em" cellspacing="0" cellpadding="3"
{{{1}}}
{{{1}}}
|}<noinclude>
|}<noinclude>
Line 8: Line 8:


<pre>
<pre>
  {{infocol | {{infopict|SteelFury.png}}
  {{infocol | {{infopict|SteelFuryWiki.jpg}}
             {{infohead|Squad Details}}
             {{infohead|Squad Details}}
             {{infoitem|Squad Leader|Striker}}
             {{infoitem|Squad Leader|Striker}}
            ...
  }}
  }}
</pre>
</pre>


Would be especially sweet if used as templates to build templates on. :)
{{infocol | {{infopict|SteelFuryWiki.jpg}}
            {{infohead|Squad Details}}
            {{infoitem|Squad Leader|Striker}}
}}
 
gives the table the can be seen on the right. → → →
 
This template can be used to build more specific templates, but it can also be used directly.


[[Category:Infocolumn templates]]
[[Category:Infocolumn templates]]

Latest revision as of 15:07, 5 March 2009

{{{1}}}

This is the main infobox container.

Usage prototype:

 {{infocol | {{infopict|SteelFuryWiki.jpg}}
             {{infohead|Squad Details}}
             {{infoitem|Squad Leader|Striker}}
 }}


SteelFuryWiki.jpg
Squad Details
Squad Leader Striker

gives the table the can be seen on the right. → → →

This template can be used to build more specific templates, but it can also be used directly.