Template:Feralbox: Difference between revisions

From The Fidverse Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
test
{| class=wikitable
<div class="infobox">
|+ The table's caption
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
! Column header 1
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
! Column header 2
<table>{{#if:{{{param1|}}}|<tr>
! Column header 3
    <th>Parameter 1</th>
|-
    <td>{{{param1}}}</td>
! Row header 1
</tr>}}{{#if:{{{param2|}}}|<tr>
| Cell 2 || Cell 3
    <th>Parameter 2</th>
|-
    <td>{{{param2}}}</td>
! Row header A
</tr>}}{{#if:{{{param3|}}}|<tr>
| Cell B
    <th>Parameter 3</th>
| Cell C
    <td>{{{param3}}}</td>
|}
</tr>}}{{#if:{{{param4|}}}|<tr>
    <th>Parameter 4</th>
    <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>


<infobox>
  <title source="title1">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <data source="species">
    <label>Species</label>
  </data>
  <data source="nickname">
    <label>Nickname</label>
  </data>
  <data source="age">
    <label>Age</label>
  </data>
  <data source="gender">
    <label>Gender</label>
  </data>
  <data source="height">
    <label>Height</label>
  </data>
  <data source="weight">
    <label>Weight</label>
  </data>
  <data source="alignment">
    <label>Alignment</label>
  </data>
  <data source="family/relatives">
    <label>Family/Relatives</label>
  </data>
  <data source="likes">
    <label>Likes</label>
  </data>
  <data source="dislikes">
    <label>Dislikes</label>
  </data>
  <data source="hobbies">
    <label>Hobbies</label>
  </data>
  <data source="favorite_food">
    <label>Favorite Food</label>
  </data>
  <data source="skills">
    <label>Skills</label>
  </data>
  <data source="rivals">
    <label>Rivals</label>
  </data>
  <data source="status">
    <label>Status</label>
  </data>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>

Latest revision as of 23:45, 26 June 2022

The table's caption
Column header 1 Column header 2 Column header 3
Row header 1 Cell 2 Cell 3
Row header A Cell B Cell C


Example usage:

{{Feralbox
|title1=Example
|image1=Example
|caption1=Example
|species=Example
|nickname=Example
|age=Example
|gender=Example
|height=Example
|weight=Example
|alignment=Example
|family/relatives=Example
|likes=Example
|dislikes=Example
|hobbies=Example
|favorite_food=Example
|skills=Example
|rivals=Example
|status=Example
}}