Difference between revisions of "User:IvanDogovich/Sandbox/Template:CombatID"

From UFOpaedia
Jump to navigation Jump to search
(Looks Good. Added Collapsible Tables. Ready for Publishing.)
Line 28: Line 28:
  
 
This CombatID template is designed to allow setting up a selection of image tiles for comparison or quizzing to help with battlefield identification of PirateZ foes.   
 
This CombatID template is designed to allow setting up a selection of image tiles for comparison or quizzing to help with battlefield identification of PirateZ foes.   
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 
This text is not collapsible; but the next is collapsible and hidden by default:
 
<div class="mw-collapsible-content">{{Lorem}}</div>
 
</div>
 
  
 
The template is set up to display a grid four tiles high, and four wide that may be customized and arranged however the user desires.   
 
The template is set up to display a grid four tiles high, and four wide that may be customized and arranged however the user desires.   
Line 77: Line 72:
 
'''Sample Layouts'''
 
'''Sample Layouts'''
 
<table border="0">
 
<table border="0">
 +
{|class="mw-collapsible wikitable"
 +
|-
 +
| '''Academy Forces'''
 +
|- border="0"
 +
|{{User:IvanDogovich/Sandbox/Template:CombatID|=
 +
|Grid|AcademyMedic|Academician|Grid|=
 +
|Grid|AcademyProvost|AcademyEngineer|Grid|=
 +
|Grid|AcademyEsper|AcademyExplorer|Grid|=
 +
|Grid|AcademySecurity|AcademySecurity|Grid|=}}
 +
|}
 +
</table>
  
<tr><td>
+
<table border="0">
<caption>''Academy Forces''</caption>
+
{|class="mw-collapsible mw-collapsed wikitable"
 
+
|-
{| class="wikitable mw-collapsible mw-collapsed">
+
| '''Academy Forces'''
!Expand for Academy ID Grid
+
|- border="0"
{{User:IvanDogovich/Sandbox/Template:CombatID|=
+
|{{User:IvanDogovich/Sandbox/Template:CombatID|=
 
|Grid|AcademyMedic|Academician|Grid|=
 
|Grid|AcademyMedic|Academician|Grid|=
 
|Grid|AcademyProvost|AcademyEngineer|Grid|=
 
|Grid|AcademyProvost|AcademyEngineer|Grid|=
Line 89: Line 95:
 
|Grid|AcademySecurity|AcademySecurity|Grid|=}}
 
|Grid|AcademySecurity|AcademySecurity|Grid|=}}
 
|}
 
|}
 +
</table>
  
 
</td>
 
 
 
</tr><tr>
 
 
</tr>
 
</table>
 
  
 
<br>
 
<br>

Revision as of 18:10, 17 December 2015


Template Documentation

This CombatID template is designed to allow setting up a selection of image tiles for comparison or quizzing to help with battlefield identification of PirateZ foes.

The template is set up to display a grid four tiles high, and four wide that may be customized and arranged however the user desires. Hovering over the tiles will display a popup of the unit name.

working draft notes

Usage

The easiest way to include it in your article is to copy the following:

{{User:IvanDogovich/Sandbox/Template:CombatID|=
|Grid|Grid|Grid|Grid|=
|Grid|Grid|Grid|Grid|=
|Grid|Grid|Grid|Grid|=
|Grid|Grid|Grid|Grid|=
}}


Replace "Grid" with the following possible entries:





Sample Layouts

Academy Forces
Grid AcademyMedic Academician Grid
Grid AcademyProvost AcademyEngineer Grid
Grid AcademyEsper AcademyExplorer Grid
Grid AcademySecurity AcademySecurity Grid


Academy Forces
Grid AcademyMedic Academician Grid
Grid AcademyProvost AcademyEngineer Grid
Grid AcademyEsper AcademyExplorer Grid
Grid AcademySecurity AcademySecurity Grid





Note:

If you have already completed your layout and the rest consists of grid blocks, just close off the braces. All remaining entries that are not filled in at the end will default to grid blocks. Entering {{CombatID}} by itself for example will generate a 4×4 block of grid.