Template:CharacterInfov2: Difference between revisions

From 4chan Tournaments Wiki
Content deleted Content added
Testing
Seems this does mostly work, although it's more tacky and limited than I'd prefer
Line 1: Line 1:
<infobox accent-color-source="bkg" accent-color-text-source="font">
{| id="character" class="infobox" style="width:300px"
<title source="title1">
! colspan="2" style="font-size:125%" | {{{title1|}}}}}
<default>{{PAGENAME}}</default>
|-
</title>
| colspan="2" style="text-align:center" | {{{image1|}}}
<image source="image1">
|-
<caption source="caption1"/>
{{#if:{{{gender|}}}|
</image>
{{!}} '''Gull name'''
{{!}} {{{gender}}}
<data source="gender">
<label>Gender</label>
</data>
<data source="series">
<label>Series</label>
</data>
<data source="tournament_berths">
<label>Tournament Berths</label>
</data>
<data source="highest_seed">
<label>Highest Seed</label>
</data>
<data source="best_result">
<label>Best Result</label>
</data>
<data source="next_eligible_event">
<label>Next Eligible For</label>
</data>
<data source="next eligible for">
<label>Next Eligible For</label>
</data>
<image source="image2"> <!--character_plate!-->
<caption source="caption2"/>
</image>
</infobox>
<noinclude>
Example usage:
<pre>
{{CharacterInfov2
| bkg=
| font=
| title1=
| image1=
| caption1=
| gender=
| series=
| tournament_berths=
| highest_seed=
| best_result=
| next eligible for=
| image2=<gallery>
.png|2018
.png|2019
.png|2020
</gallery>
| caption2=
}}
}}
</pre>
|-
<templatedata>
{{#if:{{{series|}}}|
{"params":
{{!}} '''Series'''
{"title1":{"suggested":true},
{{!}} {{{series}}}
"image1":{"suggested":true},
}}
"caption1":{"suggested":true},
|-
"gender":{"suggested":true},
{{#if:{{{tournament_berths|}}}|
"series":{"suggested":true},
{{!}} '''Tournament Berths'''
"tournament_births":{"suggested":true},
{{!}} {{{tournament_berths}}}
"highest_seed":{"suggested":true},
}}
"best_result":{"suggested":true},
|-
"image2":{"suggested":true},
{{#if:{{{highest_seed|}}}|
"caption2":{"suggested":true}},
{{!}} '''Highest Seeds'''
"sets":[],
{{!}} {{{highest_seed}}}
"maps":{}}
}}
</templatedata>
|-
</noinclude>
{{#if:{{{best_result|}}}|
{{!}} '''Best Result'''
{{!}} {{{best_result}}}
}}
|-
{{#if:{{{next_eligible_event|}}}|
{{!}} '''Next Eligible For'''
{{!}} {{{next_eligible_event}}}
}}
|-
{{#if:{{{next_eligible_for|}}}|
{{!}} '''Next Eligible For'''
{{!}} {{{next_eligible_for}}}
}}
|-
{{#if:{{{image2|}}}|
{{!}} '''Next Eligible For'''<!--character_plate!-->
{{!}} {{{image2}}}
}}
|}

Revision as of 09:34, 26 October 2023

Example usage:

{{CharacterInfov2
  | bkg=
  | font=
  | title1=
  | image1=
  | caption1=
  | gender=
  | series=
  | tournament_berths=
  | highest_seed=
  | best_result=
  | next eligible for=
  | image2=<gallery>
  	.png|2018
  	.png|2019
  	.png|2020
  </gallery>
  | caption2=
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption1caption1

no description

Unknownsuggested
gendergender

no description

Unknownsuggested
seriesseries

no description

Unknownsuggested
tournament_birthstournament_births

no description

Unknownsuggested
highest_seedhighest_seed

no description

Unknownsuggested
best_resultbest_result

no description

Unknownsuggested
image2image2

no description

Unknownsuggested
caption2caption2

no description

Unknownsuggested