Difference between revisions of "Template:Unit stats row"

From PSU Cyril Wiki
Jump to: navigation, search
m (Don't really need these examples now.)
(Migrate DPL to DPL3)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>| [[{{#if: {{{Link|}}}|{{{Link}}}{{!}}}}{{{Name}}}]] || 研究中・・・ || {{Logo-{{#dpl:dplcache={{{Name}}}-1|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Mfr.}}}} {{#switch: {{#dpl:dplcache={{{Name}}}-2|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Type}}
+
<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:dplcache={{{Name}}}-3|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Tech.}}
+
|Head={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Tech.}}
|Arm={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-4|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Att.}}
+
|Arm={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Att.}}
|Body={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-5|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Def.}}
+
|Body={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Def.}}
 
|Extra=
 
|Extra=
|#default=?}} {{#switch: {{#dpl:dplcache={{{Name}}}-6|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Type}}
+
|#default=?}} {{#switch: {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Type}}
|Head={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-7|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ment.}}
+
|Head={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ment.}}
|Arm={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-8|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Acc.}}
+
|Arm={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Acc.}}
|Body={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-9|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Eva.}}
+
|Body={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Eva.}}
|Extra={{!}}{{!}} {{#dpl:dplcache={{{Name}}}-10|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:End.}}
+
|Extra={{!}}{{!}} {{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:End.}}
|#default= ?}} || {{{{#dpl:dplcache={{{Name}}}-11|mode=inline|title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ver.}} version}} || {{#if: {{{Comment|}}}|{{{Comment}}}|--}}</includeonly>
+
|#default= ?}} || ? || {{{{#dpl:title={{{Link|{{{Name}}}}}}|include={Unit stats}:Ver.}} version}} || {{#if: {{{Comment|}}}|{{{Comment}}}|--}}</includeonly>
 
<noinclude>
 
<noinclude>
 
== Template parameters ==
 
== Template parameters ==

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= }}