Difference between revisions of "Template:Infobox Battle Setting Recommendation"

From BattleMaster Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{| class="infobox" border="1" style="width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;"
 
<includeonly>{| class="infobox" border="1" style="width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;"
| width="50%" style="background: lightsteelblue; text-align: center;" | '''General'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''General'''
| width="50%" style="text-align:center;" | {{#if: {{{General|}}} | General::{{{General}}} | (unknown) }}
+
| width="50%" style="text-align:center; font-weight: bold;" | {{#if: {{{General|}}} | {{{General}}} | (unknown) }}
 
|-
 
|-
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Infantry'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Infantry'''
| width="50%" style="text-align:center;" | {{#if: {{{Infantry|}}} | (unknown) }}
+
| width="50%" style="text-align:center;" | {{#if: {{{Infantry|}}} | {{{Infantry}}} | (unknown) }}
 
|-
 
|-
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Archers'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Archers'''
| width="50%" style="text-align:center;" | {{#if: {{{Archers|}}} | (unknown) }}  
+
| width="50%" style="text-align:center;" | {{#if: {{{Archers|}}} | {{{Archers}}} | (unknown) }}  
 
|-
 
|-
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Mixed Infantry'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Mixed Infantry'''
| width="50%" style="text-align:center;" | {{#if:{{{MI|}}} | (unknown) }}
+
| width="50%" style="text-align:center;" | {{#if:{{{MI|}}} | {{{MI}}} | (unknown) }}
 
|-
 
|-
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Cavalry'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Cavalry'''
| width="50%" style="text-align:center;" | {{#if: {{{Cavalry|}}} | (unknown) }}
+
| width="50%" style="text-align:center;" | {{#if: {{{Cavalry|}}} | {{{Cavalry}}} | (unknown) }}
 
|-
 
|-
| width="50%" style="background: lightsteelblue; text-align: center;" | '''Special Forces'''
+
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Special Forces'''
| width="50%" style="text-align:center;" | {{#if:{{{SF|}}} | (unknown) }}  
+
| width="50%" style="text-align:center;" | {{#if:{{{SF|}}} | {{{SF}}} | (unknown) }}
 +
|-
 +
| width="50%" style="background: lightsteelblue; text-align: left;" | '''Marshal Settings'''
 +
| width="50%" style="text-align:center;" | {{#if:{{{Marshal|}}} | {{{Marshal}}} | (unknown) }}  
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>{{SemanticCodes}}{{Documentation}}</noinclude>
 
<noinclude>{{SemanticCodes}}{{Documentation}}</noinclude>

Latest revision as of 05:07, 28 May 2012

Template-info.svg Semantic Coded Template
This template contains semantic coding. Do not use this template for anything other than its intended purpose.
Template-info.svg Template Documentation
This documentation is transcluded from Template:Infobox Battle Setting Recommendation/doc.

ExamplesSandbox

This infobox displays information related to battle settings. The infobox should be added using the Infobox Battle Setting Recomendation template, as shown below:

{{Infobox Battle Setting Recommendation
|General=
|Infantry=
|Archers=
|MI=
|Cavalry=
|SF=
|Marshal=
}}
  • General should be your name, so readers know who the recommendation is coming from.
  • Any parameters not used should be left out. Do not leave them empty, do not set them to anything like "(unknown)" - all that will be handled automatically by this template if you just leave the parameter out.
  • Do not use any wiki links or templates when entering any information. These will break the semantic coding of the information. A way to link to the owner/finder's family page may be added in the future.