Difference between revisions of "Template:CampaignEntry"

From FreeSpace Wiki
Jump to: navigation, search
m (and trying again)
(added more info)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>|- style= "border-top: 1px #22D solid;"
|- style= "border-top: 1px #22D solid;"
+
|
|{| cellpadding = 5 style="text-align: center; background: transparent;"
+
{| cellpadding = 5 style="text-align: center; background: transparent;"
 
! width = 150px valign = "top" rowspan="2" | {{{1}}}
 
! width = 150px valign = "top" rowspan="2" | {{{1}}}
 
| width = 100px | {{{2}}}
 
| width = 100px | {{{2}}}
Line 11: Line 11:
 
|-
 
|-
 
|}
 
|}
</includeonly>
+
|-</includeonly>
 
<noinclude>
 
<noinclude>
Template for simplifying the usage of the campaign page.
+
'''Instructions'''
 +
 
 +
Template for simplifying the usage of the campaign page. Except for the initial template call line every other line within the template must begin with vertical bar (or 'pipe') character. After the initial template call the rest of lines are to filled in the following order:
 
:* Name (and link to wikipage) of the campaign  
 
:* Name (and link to wikipage) of the campaign  
 
:* Type of the campaign release
 
:* Type of the campaign release
:* Requirements
+
:* Requirements (and possible wiki links to them)
 
:* Missions
 
:* Missions
 
:* Notes
 
:* Notes
 
:* Description  
 
:* Description  
  
 +
 +
'''Example in wiki markup language'''
 +
<pre>{{CampaignEntry
 +
|[[Cardinal Spear]]
 +
|Yes
 +
|[[FSPort]]
 +
|8
 +
|V M
 +
|The Cardinal Fleet had been laid ruin, and the crew of the GTD Agamemnon was being hunted by a Vasudan general. It was too late for victory, but not too late for vengeance...}}</pre>
 +
 +
'''Example in with explanations'''
 +
<pre>{{CampaignEntry      <-- Template start marker and the name of the template we are using
 +
|[[Cardinal Spear]]  <-- Link to page within FreeSpace wiki named 'Cardinal Spear'
 +
|Yes                  <-- Release information
 +
|[[FSPort]]          <-- Link to page within FreeSpace wiki named 'FSPort'
 +
|8                    <-- Number of missions
 +
|V M                  <-- Notes (explained in the campaign list page)
 +
|...}}                <-- Campaign description and the template end marker</pre>
 +
 +
For more detailed information see [http://meta.wikimedia.org/wiki/Help:Contents the MediaWiki Handbook]
  
 
[[Category:Templates|CampaignEntry]]
 
[[Category:Templates|CampaignEntry]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:29, 24 January 2008


Instructions

Template for simplifying the usage of the campaign page. Except for the initial template call line every other line within the template must begin with vertical bar (or 'pipe') character. After the initial template call the rest of lines are to filled in the following order:

  • Name (and link to wikipage) of the campaign
  • Type of the campaign release
  • Requirements (and possible wiki links to them)
  • Missions
  • Notes
  • Description


Example in wiki markup language

{{CampaignEntry
|[[Cardinal Spear]]
|Yes
|[[FSPort]]
|8
|V M
|The Cardinal Fleet had been laid ruin, and the crew of the GTD Agamemnon was being hunted by a Vasudan general. It was too late for victory, but not too late for vengeance...}}

Example in with explanations

{{CampaignEntry       <-- Template start marker and the name of the template we are using
|[[Cardinal Spear]]   <-- Link to page within FreeSpace wiki named 'Cardinal Spear'
|Yes                  <-- Release information
|[[FSPort]]           <-- Link to page within FreeSpace wiki named 'FSPort'
|8                    <-- Number of missions
|V M                  <-- Notes (explained in the campaign list page)
|...}}                <-- Campaign description and the template end marker

For more detailed information see the MediaWiki Handbook