Template:40k-Vehicle-Model-Profile: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
No edit summary
imported>Administrator
m 4 revisions imported
 
(One intermediate revision by one other user not shown)
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:{{{name|}}}|&nbsp;{{{name}}}|{{#if:{{{1|}}}|&nbsp;{{{1}}}|}}}}{{#ifexpr: {{{composition}}}>1 |s}}|{{#if:{{{9|}}}|{{{9}}}{{#if:{{{name|}}}|&nbsp;{{{name}}}|{{#if:{{{1|}}}|&nbsp;{{{1}}}|}}}}{{#ifexpr: {{{9}}}>1 |s}}}}}}{{#if:{{{wargear|}}}{{{specialrules|}}}|<br/>
| {{#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>

Latest revision as of 17:57, 24 June 2023

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):
testname
Points BS AV HP Type Composition
F S R
testpoints testbs testavf testavs testavr testhp Vehicle (test_type, test_type) 1
Wargear Special Rules
  • Heavy Bolter
  • Multi-Melta
  • Assault Cannon
  • Scout
  • Infiltrate
  • Move Through Cover
Options
Any model can replace its Heavy Bolter with:
Heavy Flamer Free
Multi-Melta 10 pts/model


testname
Points BS AV HP Type Composition
F S R
testpoints testbs testavf testavs testavr testhp Vehicle (test_type, test_type) 2 thingies
Special Rules
  • Scout
  • Infiltrate
  • Move Through Cover


testname
Points BS AV HP Type Composition
F S R
testpoints testbs testavf testavs testavr testhp Vehicle (test_type, test_type) 1 thingy
Wargear
  • Heavy Bolter
  • Multi-Melta
  • Assault Cannon


testname
Points BS AV HP Type Composition
F S R
testpoints testbs testavf testavs testavr testhp Vehicle (test_type) 1