Wikia

Memory Alpha

Changes: Template:Sidebar government

edit this page

Back to page

m (added to top image as well)
m (fm)
Line 80: Line 80:
 
{{!}} class="sb-both" colspan="2" {{!}} {{sidebar image|img1={{{image-bottom}}}|cap1={{{caption-bottom}}}|format={{ #switch:{{{format-bottom|}}}| F = |halfwidth}}}}{{{caption-bottom}}}
 
{{!}} class="sb-both" colspan="2" {{!}} {{sidebar image|img1={{{image-bottom}}}|cap1={{{caption-bottom}}}|format={{ #switch:{{{format-bottom|}}}| F = |halfwidth}}}}{{{caption-bottom}}}
 
}}
 
}}
|}</includeonly>
+
|}</includeonly><noinclude>{{doc}}[[Category:Memory Alpha sidebar templates|Government]]</noinclude>
<noinclude>{{doc}}[[Category:Memory Alpha sidebar templates|Government]]</noinclude>
 

Revision as of 14:15, August 27, 2010

The following documentation is transcluded from Template:Sidebar government/doc:

This template is used to create standardized sidebars for all government articles. All parameters are optional except "Name"; not all will be known for each government.

Usage

The following code can be copied directly into the article.

{{Sidebar government
|name                 = 
|image                = 
|imagecap             = 
|format-top           = 
|image2               = 
|imagecap2            = 
|format-bottom        = 
|founded              = 
|location             = 
|affiliation          = 
|capital              = 
|head of state        = 
|head of government   = 
|legislature          = 
|judiciary            = 
|major species        = 
|military             = 
|intelligence service = 
|language             = 
|currency             = 
}}

Variables

Name 
Name of the government
Image-... 
Filename of an image, without the "File:/File:" namespace prefix.
Caption-... 
Caption for an image.
Format-... 
For size adjustments, the default is set to 'halfwidth', for full sized images add "F".
Affiliation 
Name of another government/organization over this one.

Example

United Federation of Planets
United Federation of Planets logo.svg

Great Seal of the United Federation of Planets

Great Seal of the United Federation of Planets
Founded: 2161 (United Earth, Vulcan, Andorian Empire, Tellar)
Location: Alpha Quadrant, Beta Quadrant
Capital: Earth
Head of State: President of the United Federation of Planets
Head of Government: President of the United Federation of Planets
Legislature: Federation Council
Judiciary: Federation Supreme Court
Major Species: See Federation members
Military: Starfleet
Intelligence Service: Starfleet Intelligence
Currency: Federation credit
United Federation of Planets flag.svg

The Flag of the United Federation of Planets

The Flag of the United Federation of Planets
{{Sidebar government
|name                 = United Federation of Planets
|image                = United Federation of Planets logo.svg
|imagecap             = Great Seal of the United Federation of Planets
|image2               = United Federation of Planets flag.svg
|imagecap2            = The [[Flag of the United Federation of Planets]]
|format-bottom        = F
|founded              = [[2161]] 
([[United Earth]], [[Vulcan (planet)|Vulcan]], [[Andorian Empire]], [[Tellar]])
|location             = [[Alpha Quadrant]], [[Beta Quadrant]]
|affiliation          = 
|capital              = [[Earth]]
|head of state        = [[President of the United Federation of Planets]]
|head of government   = [[President of the United Federation of Planets]]
|legislature          = [[Federation Council]]
|judiciary            = [[Federation Supreme Court]]
|major species        = See [[Federation members]]
|military             = [[Federation Starfleet]]
|intelligence service = [[Starfleet Intelligence]]
|language             = 
|currency             = [[Federation credit]]
}}

Around Wikia's network

Random Wiki