Template:40k-Vehicle-Model-Profile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
| {{#if:{{{points|}}}|{{{points}}}|{{{2|1}}}}} || {{#if:{{{bs|}}}|{{{bs}}}|{{{3|1}}}}} || {{#if:{{{avf|}}}|{{{avf}}}|{{{4|10}}}}} || {{#if:{{{avs|}}}|{{{avs}}}|{{{5|10}}}}} || {{#if:{{{avr|}}}|{{{avr}}}|{{{6|10}}}}} || {{#if:{{{hp|}}}|{{{hp}}}|{{{7|1}}}}} | | {{#if:{{{points|}}}|{{{points}}}|{{{2|1}}}}} || {{#if:{{{bs|}}}|{{{bs}}}|{{{3|1}}}}} || {{#if:{{{avf|}}}|{{{avf}}}|{{{4|10}}}}} || {{#if:{{{avs|}}}|{{{avs}}}|{{{5|10}}}}} || {{#if:{{{avr|}}}|{{{avr}}}|{{{6|10}}}}} || {{#if:{{{hp|}}}|{{{hp}}}|{{{7|1}}}}} | ||
! Vehicle{{#if:{{{type|}}}| ({{{type}}})|{{#if:{{{8|}}}| ({{{8}}})|}}}} | ! Vehicle{{#if:{{{type|}}}| ({{{type}}})|{{#if:{{{8|}}}| ({{{8}}})|}}}} | ||
| {{#if:{{{composition|}}}|{{{composition | | {{#if:{{{composition|}}}|{{{composition}}}|{{{9|1}}}}}{{#if:{{{wargear|}}}{{{specialrules|}}}|<br/> | ||
{{!}}- | {{!}}- | ||
{{#if:{{{wargear|}}}|! colspan={{#if:{{{specialrules|}}}|4|100}} {{!}} Wargear|}} | {{#if:{{{wargear|}}}|! colspan={{#if:{{{specialrules|}}}|4|100}} {{!}} Wargear|}} | ||
Line 57: | Line 57: | ||
*Infiltrate | *Infiltrate | ||
*Move Through Cover | *Move Through Cover | ||
|composition=2 | |composition=2 thingies | ||
}} | }} | ||
{{40k-Vehicle-Model-Profile|name=testname|bs=testbs|avf=testavf|avs=testavs|avr=testavr|hp=testhp|type=test_type, test_type|points=testpoints|clear=yes|wargear= | {{40k-Vehicle-Model-Profile|name=testname|bs=testbs|avf=testavf|avs=testavs|avr=testavr|hp=testhp|type=test_type, test_type|points=testpoints|clear=yes|wargear= | ||
Line 63: | Line 63: | ||
*Multi-Melta | *Multi-Melta | ||
*Assault Cannon | *Assault Cannon | ||
|composition=1 | |composition=1 thingy | ||
}} | }} | ||
{{40k-Vehicle-Model-Profile|testname|testpoints|testbs|testavf|testavs|testavr|testhp|test_type|1|clear=yes}} | {{40k-Vehicle-Model-Profile|testname|testpoints|testbs|testavf|testavs|testavr|testhp|test_type|1|clear=yes}} | ||
</noinclude> | </noinclude> |
Revision as of 19:55, 1 March 2017
Points | BS | AV | HP | Type | Composition | ||
---|---|---|---|---|---|---|---|
F | S | R | |||||
1 | 1 | 10 | 10 | 10 | 1 | Vehicle | 1 |
- This template is intended for nonwalker vehicles.
- Note on usage:
- Parameters should be in order, with name first (so points second, etc), when using unnamed parameters. Align and clear must be named parameters.
- Name all parameters as the column name in lower case, e.g. points, bs, or type.
- This can also be done in order, with name first (so name, points, etc).
- Use avf, avs, and avr for armour values front, side, and rear, respectively.
- Comma and space delimit the type (e.g. type=Fast, Skimmer) to look like a codex profile.
- Set clear equal to anything to break the flow after the table (otherwise everything will flow to the left).
- Set align to set table alignment (i.e. how the table fits in the flow around it).
- Use 'wargear' for wargear and 'specialrules' for special rules (not available with numerical/unnamed arguments); best practice is to use a bulleted list, as below.
- Use 'options' for options; usually, you will want a nested table.
- See examples below (edit the template to see the source):
Points | BS | AV | HP | Type | Composition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F | S | R | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testpoints | testbs | testavf | testavs | testavr | testhp | Vehicle (test_type, test_type) | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Wargear | Special Rules | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Options | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Points | BS | AV | HP | Type | Composition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F | S | R | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testpoints | testbs | testavf | testavs | testavr | testhp | Vehicle (test_type, test_type) | 2 thingies | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Special Rules | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Points | BS | AV | HP | Type | Composition | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F | S | R | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testpoints | testbs | testavf | testavs | testavr | testhp | Vehicle (test_type, test_type) | 1 thingy | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Wargear | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Points | BS | AV | HP | Type | Composition | ||
---|---|---|---|---|---|---|---|
F | S | R | |||||
testpoints | testbs | testavf | testavs | testavr | testhp | Vehicle (test_type) | 1 |