User:IvanDogovich/Sandbox/Template:CombatID: Difference between revisions
IvanDogovich (talk | contribs) No edit summary |
IvanDogovich (talk | contribs) more tweaks trying to get collapsibles working. |
||
| 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 51: | Line 56: | ||
Replace "Grid" with the following possible entries: | Replace "Grid" with the following possible entries: | ||
<gallery caption = " | |||
<gallery caption = "Standard Grid" widths = "200" heights = "120" perrow = "4" mode="packed-overlay" > | |||
file:ID_Grid_Piratez.png | [[Grid]] | file:ID_Grid_Piratez.png | [[Grid]] | ||
</gallery> | |||
<gallery caption = "Academy" widths = "200" heights = "120" perrow = "4" mode="packed-overlay" > | |||
file:ID_Academician_Piratez.png | Academician | file:ID_Academician_Piratez.png | Academician | ||
file:ID_AcademyMedic_Piratez.png | AcademyMedic | file:ID_AcademyMedic_Piratez.png | AcademyMedic | ||
| Line 60: | Line 70: | ||
file:ID_AcademyProvost_Piratez.png | AcademyProvost | file:ID_AcademyProvost_Piratez.png | AcademyProvost | ||
file:ID_AcademyExplorer_Piratez.png | AcademyExplorer | file:ID_AcademyExplorer_Piratez.png | AcademyExplorer | ||
</gallery> | </gallery> | ||
| Line 68: | Line 77: | ||
'''Sample Layouts''' | '''Sample Layouts''' | ||
<table border="0"> | <table border="0"> | ||
<tr><td> | <tr><td> | ||
''Academy Forces'' | <caption>''Academy Forces''</caption> | ||
{| class="wikitable mw-collapsible mw-collapsed"> | |||
!Expand for Academy ID Grid | |||
{{User:IvanDogovich/Sandbox/Template:CombatID|= | {{User:IvanDogovich/Sandbox/Template:CombatID|= | ||
|Grid|AcademyMedic|Academician|Grid|= | |Grid|AcademyMedic|Academician|Grid|= | ||
| Line 76: | Line 88: | ||
|Grid|AcademyEsper|AcademyExplorer|Grid|= | |Grid|AcademyEsper|AcademyExplorer|Grid|= | ||
|Grid|AcademySecurity|AcademySecurity|Grid|=}} | |Grid|AcademySecurity|AcademySecurity|Grid|=}} | ||
|} | |||
</td> | </td> | ||
| Line 91: | Line 105: | ||
'''Note:''' | '''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 <nowiki>{{CombatID}}</nowiki> by itself for example will generate | 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 <nowiki>{{CombatID}}</nowiki> by itself for example will generate a 4×4 block of grid. | ||
</noinclude> | </noinclude> | ||
Revision as of 00:27, 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.
This text is not collapsible; but the next is collapsible and hidden by default:
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
Expand for Academy ID 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.







