Template:Infohead: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(New page: |- ! colspan="2" style="text-align: center; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{1}}}<noinclude> This is the header blo...)
 
(Fixed borders)
Line 1: Line 1:
|-
|-
! colspan="2" style="text-align: center; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{1}}}<noinclude>
! colspan="2" style="text-align: center; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{1}}}<noinclude>


This is the header block for [[Template:infocol]]'s.
This is the header block for [[Template:infocol]]'s.

Revision as of 14:50, 5 March 2009

|- ! colspan="2" style="text-align: center; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{{1}}}

This is the header block for Template:infocol's.

Usage example:

 {{infocol | {{infohead|Peculiarities}}
             {{infoitem|Perks|
* Ripping miners
* Flying colours
             }}
             {{infoitem|Cons|
* High mass ships
* Not so elegant syntax for lists :/
             }}
             {{infohead|Faction ratings}}
             {{infoitem|Economy    |Good}}
             {{infoitem|Ships      |Fair}}
 }}

gives:


Peculiarities
Perks
  • Ripping miners
  • Flying colours
Cons
  • High mass ships
  • Not so elegant syntax for lists :/
Faction ratings
Economy Good
Ships Fair