Template:List-head/Normal attacks

From Earth Empires Wiki
< Template:List-head
Revision as of 04:25, 6 December 2011 by General Earl (talk | contribs) (Created page with "<noinclude>Category:List header templates{{Help:Lists}}{{list-top}}</noinclude> {{list-head-top}} {{list-head-col|style=width:125px|data=Attack}} {{list-head-col|data=Desc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Lists work similar to ordered and unordered lists (html: <ol>, <ul>), but are pre-formatted table headers and cells. Each list item should have it's own page and link back to the main article(s) of its subject.

<categorytree mode="pages" showcount="on">List templates</categorytree>
{{list-top}}
  {{list-head|name=page name}} // Links to the page of the list head (main columns).
  |-{{list-head-top|id=|title=|style=}}
  |-{{list-head-col|id=|title=|rowspan=|colspan=|style=|class=|data=}}
  \-{{list-head-bottom}}

  {{list-item|name=page name}} // the page which the item resides.
  |-{{list-item-top|id=|title=|style=}}
  |-{{list-item-col|id=|title=|rowspan=|colspan=|style=|class=|data=}}
  \-{{list-item-bottom}}
{{list-bottom}}
The list-item-top,col,bottom templates can be used to create templates of a structured order on a separate page. The naming convention should be so that the item page (ie: Monarchy) should contain the list-item-customname template. For example Template:list-item-govt
Attack Description