Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Test: Difference between revisions

Template page
m Text replacement - "class="containbox statbox"" to "class="wikitable""
mNo edit summary
Line 1: Line 1:
{| class="wikitable" style="border:2px solid #{{{{{type|Mastermind}}} border color|fff}}; width: 90%; background:{{{{{type|Mastermind}}} background color|#fff}}; padding-bottom:0" align="center"
<div class="wikitable" style="display: flex; flex-wrap: wrap; width: 100%;">
|-
  <div colspan="7" class="wikitable-title" style="flex: 1 0 100%; padding: 5px; font-weight: bold;">Recruitment</div>
!class="starbox" style="color: #fff; font-size: 110%; border: 1px solid #{{{{{type|Mastermind}}} border color|fff}}; background-color:#{{{{{type|Mastermind}}} border color|fff}}; height:15px; text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;" colspan="3" rowspan="1" | {{{name|Hero}}}
 
|-
  <div align="center" style="flex: 1 0 40%; padding: 5px; font-weight: bold;">[[File:{{{name|Hero}}} (S2 HDR portrait).png|x128px|link=]]</div>
|colspan="3" align="center"|'''Japanese:''' {{{jpname|Hero}}}  •  '''Rōmaji:''' {{{roname|Hero}}}
  <div align="center" style="flex: 1 0 60%; padding: 5px; font-weight: bold;">{{{recruit|--}}}</div>
|-
 
| class="nomobile" style="vertical-align:middle; width:30%" colspan="1" rowspan="{{#switch:{{{type}}}|Mastermind=2|Other=1|Mission=2|Facilities=2|#default=3}}"|
<!-- Grouping Row 3 and Row 4 together -->
<div id="home-nav" class="home-grid" {{{1}}} role="navigation">
  <div style="display: flex; flex-wrap: wrap; width: 100%;">
<div class="home-card home-card--button" {{{2}}} id="home-nav-games">
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Level</div>
<div class="home-card__background">[[File:MainTabs-Games.webp|link=Gateway:Games]]</div>
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Gender</div>
<div class="home-card__foreground" {{{3}}}>Games</div>
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Size</div>
</div>
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Range</div>
<div class="home-card home-card--button" {{{2}}} id="home-nav-characters">
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Anger</div>
<div class="home-card__background">[[File:MainTabs-Characters.webp|link=Gateway:Characters]]</div>
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Panic</div>
<div class="home-card__foreground" {{{3}}}>Characters</div>
  <div class="wikitable-title" style="flex: 1 0 14%; padding: 5px; margin: 1px;">Fly</div>
</div>
 
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 1, Col 1</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 1, Col 2</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 1, Col 3</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 2, Col 1</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 2, Col 2</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 2, Col 3</div>
  <div align="center" style="flex: 1 0 14%; padding: 5px;">Row 3, Col 1</div>
  </div>
</div>
</div>
<br>
! style="border:1px solid #{{{{{type|Mastermind}}} border color|fff}}; height:15px" colspan="3" | <small>Card No. {{{no|001}}} • Illustration [[{{{art|Ishikawa Fumi}}}]]</small>
|}
<includeonly>{{Main cat|[[Category:Cards|{{{no}}}]]{{#ifeq: {{{type}}}|Mastermind|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Leader|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Commoner|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Craftman|[[Category:Character cards]]}}{{#ifeq: {{{type}}}|Free|[[Category:Character cards]]}}[[Category:{{{type}}} cards]]{{#ifeq: {{{type}}}|Mission|[[Category:{{{cbtype}}} Mission cards]]}}{{#ifeq: {{{cbtype2}}}|MIL|[[Category:{{{cbtype2}}} Mission cards]]}}{{#if: {{{and|}}}|[[Category:‹&› attribute cards]]}}{{#if: {{{rune|}}}|[[Category:‹Rune› attribute cards]]}}{{#if: {{{gender|}}}|[[Category:{{{gender}}} cards]]}}{{#if: {{{gender2|}}}|[[Category:{{{gender2}}} cards]]}}{{#if: {{{camp|}}}|[[Category:{{{camp}}} cards]]}}{{#if: {{{camp2|}}}|[[Category:{{{camp2}}} cards]]}}{{#if: {{{camp3|}}}|[[Category:{{{camp3}}} cards]]}}{{#if: {{{camp4|}}}|[[Category:{{{camp4}}} cards]]}}{{#ifeq: {{{linkA}}}|yes|[[Category:A link cards|Link]]}}{{#ifeq: {{{linkB}}}|yes|[[Category:B link cards|Link]]}}{{#ifeq: {{{linkC}}}|yes|[[Category:C link cards|Link]]}}{{#ifeq: {{{linkD}}}|yes|[[Category:D link cards|Link]]}}{{#ifeq: {{{linkE}}}|yes|[[Category:E link cards|Link]]}}{{#ifeq: {{{linkF}}}|yes|[[Category:F link cards|Link]]}}{{#ifeq: {{{linkG}}}|yes|[[Category:G link cards|Link]]}}{{#ifeq: {{{linkH}}}|yes|[[Category:H link cards|Link]]}}{{#ifeq: {{{linkI}}}|yes|[[Category:I link cards|Link]]}}{{#ifeq: {{{sp}}}|yes|[[Category:Star Parallel cards]]}}{{#ifeq: {{{rp}}}|yes|[[Category:Radiance Star Parallel cards]]}}{{#ifeq: {{{sr}}}|yes|[[Category:Sign Rare cards]]}}|}}</includeonly>
<noinclude>
==Usage==
<pre>
{{Card
|name=The card's name
|jpname= The card's name in Japanese kana
|roname= The romanized version of the Japanese name
|img=An image of the card
|type=The card's type (Mastermind, Leader, Commoner, Craftman, Free, Mission, Facilities, Other)
|gender#=The card's gender, if any, where # is the number after 1 (e.g., gender=, gender2=)
|rune=The card's rune type (e.g., rune=Fire)
|camp#=The card's camps, if any, where # is the number after 1 (e.g., camp=, camp2=, camp3=)
|linkX=The card's links, where X is the link letter (e.g., linkA=yes)
|atk=The card's attack
|mil=The card's military
|con=The card's construction
|cbtype=The type of power needed to clear or block this Mission/Facilities card (ATK, MIL, CON, Duel)
|cp=The number of points needed to clear this card
|vp=Number of VP awarded for a clear/block (e.g, vp=2/2)
|jptext=The card's Japanese text
|entext=The card's translated text
|no=The card's number
|art=The card's artist
}}
</pre>
[[Category:Infobox templates]]
</noinclude>

Revision as of 22:05, 10 December 2024

Recruitment
--
Level
Gender
Size
Range
Anger
Panic
Fly
Row 1, Col 1
Row 1, Col 2
Row 1, Col 3
Row 2, Col 1
Row 2, Col 2
Row 2, Col 3
Row 3, Col 1