Difference between revisions of "Template:Girls' Frontline profile"

From Moegirlpedia
Jump to: navigation, search
(typo)
m (Add auto cat creation)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}[[Category:Galcharainfo]]{{Girls' Frontline profile|Test1=Test2}}</noinclude>
+
<noinclude>{{Documentation}}[[Category:Galcharainfo]][[Category:Girls%27_Frontline_templates]][[Category:Girls%27_Frontline]]{{Girls' Frontline profile|Test1=Test2}}</noinclude><includeonly>[[Category:Characters]]{{Infobox
<includeonly>[[Category:Characters]]<div itemscope itemtype="http://data-vocabulary.org/Person" class="infotemplatebox">
+
|bg-color          = #FFF
{|border=0 cellpadding="0" cellspacing="0" width="100%"
+
|title-color      = #C0C0C0
| colspan="2" align="center" style="background-color:#C0C0C0; color:#FFFFFF; font-size:100%; padding:1em;" | {{{Name|{{SUBPAGENAME}}}}}
+
|left-column-color = #75f3fd
|-
+
|text-color       = #FFFFFF
| colspan="2" align="center" |{{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]|!?<br />What the...<br />It seems that she doesn't have a head……[[Category:Noillust]]}}{{#if:{{{Caption|}}}|<br /><span style="text-align:center;">{{{Caption}}}</span>}}
+
|Title  = {{{Name|{{SUBPAGENAME}}}}}
|-
+
|image  = {{{image|}}}
| colspan=2 align="center" bgcolor="#C0C0C0" |'''Basic info'''
+
|image-lostmessage = !?<br />What the...<br />It seems that she doesn't have a head……[[Category:Noillust]]
|-
+
|size    = 250px
! width=70px |Original name
+
|caption = <span style="text-align:center;">{{{Caption}}}</span>
{{!}} align="center" {{!}} <span itemprop="name">{{{Original name|}}}</span>
+
|tabs    = {{{tabs|}}}
|-
+
|Row x1          = '''Basic info'''
{{#if:{{{Nickname(s)|}}}|
+
|Row x1 style    = bgcolor="#C0C0C0"
!{{#if:{{{Nickname(s)|}}}|Nickname(s)}}
+
|Row titlestyle  = style="font-weight: bold;" width = 70px
{{!}} align="center" {{!}} <span itemprop="nickname">{{{Nickname(s)|}}}</span>}}
+
|Row 2 title    = Original name
|-
+
|Row 2 info      = <span itemprop="name">{{{Original name|}}}</span>
{{#if:{{{Moe points|}}}|
+
|Row 3 title    = {{#if:{{{Nickname(s)|}}}|Nickname(s)}}
!{{#if:{{{Moe points|}}}|Moe points}}
+
|Row 3 info      = {{{Nickname(s)|}}}
{{!}} align="center" {{!}} {{{Moe points|}}}}}
+
|Row 4 title    = {{#if:{{{Moe points|}}}|Moe point(s)}}
|-
+
|Row 4 info      = {{{Moe points|}}}  
{{#if:{{{Hair color|}}}|
+
|Row 5 title    = {{#if:{{{Hair color|}}}|Hair color}}
!{{#if:{{{Hair color|}}}|Hair color}}
+
|Row 5 info      = {{{Hair color|}}} {{#if:{{{Hair color|}}}|[[CAT:{{{Hair color|}}} hair]]}}
{{!}} align="center" {{!}} {{Hair_color|{{{Hair color}}}}} }}
+
|Row 6 title    = {{#if:{{{Multiple hair colors|}}}|Hair color}}
|-
+
|Row 6 info      = {{{Multiple hair colors|}}}
{{#if:{{{Multiple hair colors|}}}|
+
|Row 7 title    = {{#if:{{{Eye color|}}}|Eye color}}
!{{#if:{{{Multiple hair colors|}}}|Hair color}}
+
|Row 7 info      = {{{Eye color|}}}{{#if:{{{Eye color|}}}|[[CAT:{{{Eye color|}}} eyes]]}}
{{!}} align="center" {{!}} {{{Multiple hair colors|}}} }}
+
|Row 8 title    = {{#if:{{{Multiple eye colors|}}}|Eye color}}
|-
+
|Row 8 info      = {{{Multiple eye colors|}}}
{{#if:{{{Eye color|}}}|
+
|Row 9 title    = {{#if:{{{CV|}}}|CV}}
!{{#if:{{{Eye color|}}}|Eye color}}
+
|Row 9 info      = {{#if:{{{CV|}}}| [[{{{CV|}}}]] [[Category:Voiced by {{{CV|}}}]] }}
{{!}} align="center" {{!}} {{Eye_color|{{{Eye color}}}}} }}
+
|Row 10 title    = {{{Multiple CVs|}}}
|-
+
|Row 10 info    = {{{Multiple CVs|}}}
{{#if:{{{Multiple eye colors|}}}|
+
|Row 11 title    = Type
!{{#if:{{{Multiple eye colors|}}}|Eye color}}
+
|Row 11 info    = {{#switch:{{{Type|}}}|Handgun=Handgun (HG)[[Category:Girls' Frontline:Handguns]]|Submachinegun=Submachinegun (SMG)[[Category:Girls' Frontline:Submachineguns]]|Rifle=Rifle (RF)[[Category:Girls' Frontline:Rifles]]|Assault rifle=Assault rifle (AR)[[Category:Girls' Frontline:Assault rifles]]|Machine gun=Machine gun (MG)[[Category:Girls' Frontline:Machine guns]]|Shotgun=Shotgun (SG)[[Category:Girls' Frontline:Shotguns]]|HG=Handgun (HG)[[Category:Girls' Frontline:Handguns]]|SMG=Submachinegun (SMG)[[Category:Girls' Frontline:Submachineguns]]|RF=Rifle (RF)[[Category:Girls' Frontline:Rifles]]|AR=Assault rifle (AR)[[Category:Girls' Frontline:Assault rifles]]|MG=Machine gun (MG)[[Category:Girls' Frontline:Machine guns]]|SG=Shotgun (SG)[[Category:Girls' Frontline:Shotguns]]|#default={{{Type|}}}}}
{{!}} align="center" {{!}}  {{{Multiple eye colors|}}} }}
+
|Row 12 title    = {{#if:{{{Rarity|}}}|Rarity}}
|-
+
|Row 12 info    = {{{Rarity|}}}
{{#if:{{{CV|}}}|
+
|Row 13 title    = {{#if:{{{Part of|}}}|Part of}}
!{{#if:{{{CV|}}}|CV}}
+
|Row 13 info    = {{{Part of|}}}
{{!}} align="center" {{!}}  [[{{{CV|}}}]] [[Category:{{{CV|}}}]]}}
+
|Row 14 title    = {{#if:{{{Area of activity|}}}|Area of activity}}
|-
+
|Row 14 info    = {{{Area of activity|}}}
{{#if:{{{Multiple CVs|}}}|
+
|Row 15 title    = {{#if:{{{Country of origin|}}}|Place of origin}}
!{{#if:{{{Multiple CVs|}}}|CV}}
+
|Row 15 info    = {{{Country of origin|}}}
{{!}} align="center" {{!}}  {{{Multiple CVs|}}} }}
+
|Row 16 title    = {{#if:{{{Developed by|}}}|Developed by}}
|-
+
|Row 16 info    = {{{Developed by|}}}
!Type
+
|Row 17 title    = {{#if:{{{Manufactured by|}}}|Manufactured by}}
{{!}} align="center" {{!}} {{#switch:{{{Type|}}}|Handgun=Handgun[[Category:Girls' Frontline:Handguns]]|Submachinegun=Submachinegun[[Category:Girls' Frontline:Submachineguns]]|Rifle=Rifle[[Category:Girls' Frontline:Rifles]]|Assault rifle=Assault rifle[[Category:Girls' Frontline:Assault rifles]]|Machine gun=Machine gun[[Category:Girls' Frontline:Machine guns]]|Shotgun=Shotgun[[Category:Girls' Frontline:Shotguns]]|#default={{{Type|}}}}}
+
|Row 17 info    = {{{Manufactured by|}}}
|-
+
|Row 18 title    = {{#if:{{{Developed|}}}|Developed}}
{{#if:{{{Rarity|}}}|
+
|Row 18 info    = {{{Developed|}}}
!{{#if:{{{Rarity|}}}|Rarity}}
+
|Row 19 title    = {{#if:{{{In service|}}}|In service}}
{{!}} align="center" {{!}}  {{{Rarity|}}} }}
+
|Row 19 info    = {{{In service|}}}
|-
+
|Row 20 title    = {{#if:{{{Status|}}}|Status}}
{{#if:{{{Part of|}}}|
+
|Row 20 info    = {{{Status|}}}  
!{{#if:{{{Part of|}}}|Part of}}
+
|Row h1 title      = {{#if:{{{Related to|}}}|'''Relative(s) or related person(s)'''}}
{{!}} align="center" {{!}}  {{{Part of|}}} }}
+
|under-column-color = #E0FFFF
|-
+
|Row h1 info        = {{{Related to|}}}
{{#if:{{{Area of activity|}}}|
+
}}</includeonly>
!{{#if:{{{Area of activity|}}}|Area of activity}}
 
{{!}} align="center" {{!}}  {{{Area of activity|}}} }}
 
|-
 
{{#if:{{{Country of origin|}}}|
 
!{{#if:{{{Country of origin|}}}|Country of origin}}
 
{{!}} align="center" {{!}}  {{{Country of origin|}}} }}
 
|-
 
{{#if:{{{Developed by|}}}|
 
!{{#if:{{{Developed by|}}}|Developed by}}
 
{{!}} align="center" {{!}}  {{{Developed by|}}} }}
 
|-
 
{{#if:{{{Manufactured by|}}}|
 
!{{#if:{{{Manufactured by|}}}|Manufactured by}}
 
{{!}} align="center" {{!}}  {{{Manufactured by|}}} }}
 
|-
 
{{#if:{{{Developed|}}}|
 
!{{#if:{{{Developed|}}}|Developed}}
 
{{!}} align="center" {{!}}  {{{Developed|}}} }}
 
|-
 
{{#if:{{{In service|}}}|
 
!{{#if:{{{In service|}}}|In service}}
 
{{!}} align="center" {{!}}  {{{In service|}}} }}
 
|-
 
{{#if:{{{Status|}}}|
 
!{{#if:{{{Status|}}}|Status}}
 
{{!}} align="center" {{!}}  {{{Status|}}} }}<!-- Note that there should not be a table separator "|-" here. It should be below.
 
-->{{#forargs:
 
| key
 
| val
 
|<nowiki/>
 
{{#switch: {{#var:key}}
 
|Name
 
|image
 
|Caption
 
|Original name
 
|Nickname(s)
 
|Hair color
 
|Multiple hair colors
 
|Eye color
 
|Multiple eye colors
 
|Moe points
 
|CV
 
|Multiple CVs
 
|Type
 
|Rarity
 
|Part of
 
|Area of activity
 
|Country of origin
 
|Developed by
 
|Manufactured by
 
|Developed
 
|Manufactured
 
|Status
 
|Related person(s)
 
|More pictures=<!-- Blocks items that already exist -->
 
|#default =
 
  {{#if: {{#var:val}}
 
  |{{!}}-
 
    ! {{#var: key}}
 
    {{!}}  style="text-align:center" {{!}} {{#var: val}}
 
  |<!-- Doesn't show if there's no content in the new item -->}}
 
}}<!-- end switch -->
 
}}<!-- end forargs -->
 
|-
 
{{ #if: {{{Related person(s)|}}} |
 
! colspan="2"  bgcolor="#E0FFFF" {{!}}  '''Relative(s) or related person(s)'''}}
 
|-
 
{{ #if: {{{Related person(s)|}}} |
 
!colspan="2" {{!}} {{{Related person(s)|}}}
 
}}
 
|-
 
| colspan=2 align="center" bgcolor="#CCCCFF" style="font-size: 150%;"| {{#if:{{{More pictures|}}} | [[:萌娘共享:Category:{{{More pictures|}}}|'''{{{More pictures|}}}'s more pictures''']] | [[:萌娘共享:Category:{{PAGENAME}}|'''相关图片''']]}}
 
|}</div>
 
</includeonly>
 

Latest revision as of 12:40, 25 November 2023

Template-info.svg Template Documentation  [Create] [Refresh]
Girls' Frontline profile
!?
What the...
It seems that she doesn't have a head……
Basic info
Original name
Type