Difference between revisions of "Template:System v2"

From Discovery Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
 
<noinclude><!--</noinclude>__NOTOC__ __NOEDITSECTION__
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 95%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="5"
+
{| class="infobox bordered" style="float: right; width: 270px; font-size: 90%; line-height: 100%; margin-left: 1em; margin-bottom: 1em; border: 1px solid #aaa;" cellpadding="5"
 
|-
 
|-
 
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{name}}}
 
| colspan="2" class="infobox-name" style="font-family: Agency FB,​Verdana,​Arial,​sans-serif; font-size: 185%; font-weight: 500; text-decoration: underline; text-align: center; background-color: #14193F; line-height: 1.5em;"|{{{name}}}

Revision as of 00:15, 21 December 2012

Template:System is for the solar systems in Discovery. This template does not define article body text, and instead only defines the infobox and summary table data.

Recognized attributes are shown in the Usage section below. Of particular note:

  • name is the system's full name, as extracted from the infocard data, and is used for the name that is shown in the infobox. The template will also attemp to load a PNG or JPG file with this name. It should also be used for the page title.
  • description is used for the text block at the top of the page.
  • factions contains a table of NPC factions a player can interact with, through rumors, missions, or bribes.
  • commodities holds a table of commodities that can be bought or sold on this base.
  • equipment holds a table of the ship equipment that is available for purchase on this base.
  • ships-packages holds a table of ships that are available.

The remaining attributes are used to populate additional fields in the infobox. The rest of the page is provided as page data directly, and does not use the template.

Usage

<nowiki>
{{Base