Difference between revisions of "Template:Unit stats row"

From PSU Cyril Wiki
Jump to: navigation, search
m
(Migrate DPL to DPL3)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>| {{#if: {{{Fan translation|}}}|(}}[[{{#if: {{{Link|}}}|{{{Link}}}{{!}}}}{{{Name}}}]]{{#if: {{{Fan translation|}}}|)}} || {{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 ==
 
'''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/>
'''Fan translation:'''  Whether it's a fan translation or not. ''Y'' if it is, blank otherwise.<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 22: Line 21:
 
<pre>{{Unit stats row
 
<pre>{{Unit stats row
 
|Name=  
 
|Name=  
|Fan translation=
+
|Comment= }}</pre></noinclude>
|Comment= }}</pre>
 
 
 
== Head unit ==
 
{| class="wikitable" style="text-align:center"
 
! Rank !! Name !! Mfr. !! Tech. !! Ment. !! Ver. !! Comments
 
|-
 
| {{Color-C}} rowspan="1" | 1★
 
{{Unit stats row|Name=Cara / Force}}
 
|}
 
 
 
== Arm unit ==
 
{| class="wikitable" style="text-align:center"
 
! Rank !! Name !! Mfr. !! Att. !! Acc. !! Ver. !! Comments
 
|-
 
| {{Color-C}} rowspan="1" | 1★
 
{{Unit stats row|Name=Car / Power}}
 
|}
 
 
 
== Body unit ==
 
{| class="wikitable" style="text-align:center"
 
! Rank !! Name !! Mfr. !! Def. !! Eva. !! Ver. !! Comments
 
|-
 
| {{Color-C}} rowspan="1" | 1★
 
{{Unit stats row|Name=Car / Guard}}
 
|}
 
 
 
== Extra unit ==
 
{| class="wikitable" style="text-align:center"
 
! Rank !! Name !! Mfr. !! End. !! Ver. !! Comments
 
|- {{JP item}}
 
| {{Color-S2}} rowspan="1" | 13★
 
{{Unit stats row|Name=Ares Espada|Fan translation=Y|Comment=SUV weapon}}
 
|}
 
</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= }}