Difference between revisions of "Template:Unit stats row"
From PSU Cyril Wiki
(No idea if this will work right, but we're about to find out!) |
(Migrate DPL to DPL3) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>| | + | <includeonly>| [[{{#if: {{{Link|}}}|{{{Link}}}{{!}}}}{{{Name}}}]] || 研究中・・・ || {{Logo-{{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Mfr.}}}} {{#switch: {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Type}} |
− | |Head={{!}}{{!}} {{#dpl: | + | |Head={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Tech.}} |
− | |Arm={{!}}{{!}} {{#dpl: | + | |Arm={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Att.}} |
− | |Body={{!}}{{!}} {{#dpl: | + | |Body={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Def.}} |
|Extra= | |Extra= | ||
− | |#default=?}} | + | |#default=?}} {{#switch: {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Type}} |
− | |Head={{!}}{{!}} {{#dpl: | + | |Head={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ment.}} |
− | |Arm={{!}}{{!}} {{#dpl: | + | |Arm={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Acc.}} |
− | |Body={{!}}{{!}} {{#dpl: | + | |Body={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Eva.}} |
− | |Extra={{!}}{{!}} {{#dpl: | + | |Extra={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:End.}} |
− | |#default= ?}} || {{{{#dpl: | + | |#default= ?}} || ? || {{{{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ver.}} version}} || {{#if: {{{Comment|}}}|{{{Comment}}}|--}}</includeonly> |
<noinclude> | <noinclude> | ||
== Template parameters == | == Template parameters == | ||
'''Name:''' The weapon's name, that is also the name of its individual page.<br/> | '''Name:''' The weapon's name, that is also the name of its individual page.<br/> | ||
'''Link:''' A link to the weapon's page, in case the displayed name is different than the page name.<br/> | '''Link:''' A link to the weapon's page, in case the displayed name is different than the page name.<br/> | ||
− | |||
− | |||
'''Comment:''' Any comments typed here will be added to the table's comments column. If left blank, ''--'' will appear automatically. | '''Comment:''' Any comments typed here will be added to the table's comments column. If left blank, ''--'' will appear automatically. | ||
Line 21: | Line 19: | ||
== Blank template == | == Blank template == | ||
− | <pre>{{ | + | <pre>{{Unit stats row |
|Name= | |Name= | ||
− | + | |Comment= }}</pre></noinclude> | |
− | |Comment= }}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |
Latest revision as of 06:21, 14 July 2021
Template parameters
Name: The weapon's name, that is also the name of its individual page.
Link: A link to the weapon's page, in case the displayed name is different than the page name.
Comment: Any comments typed here will be added to the table's comments column. If left blank, -- will appear automatically.
You can completely remove the parameter if its value is empty, it will act like if it's blank.
Blank template
{{Unit stats row |Name= |Comment= }}