The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Infobox: Difference between revisions

From The Codex
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<infobox>
<div class="infobox">
  <title source="title1">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
    <default>{{PAGENAME}}</default>
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
  </title>
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
  <image source="image1">
    <th>Parameter 1</th>
    <caption source="caption1"/>
     <td>{{{param1}}}</td>
  </image>
</tr>}}{{#if:{{{param2|}}}|<tr>
  <navigation> {{{tabber}}} </navigation>
     <th>Parameter 2</th>
  <data source="name">
     <td>{{{param2}}}</td>
    <label>Name</label>
</tr>}}{{#if:{{{param3|}}}|<tr>
  </data>
     <th>Parameter 3</th>
  <data source="nickname">
     <td>{{{param3}}}</td>
  <label>Nicknames</label>
</tr>}}{{#if:{{{param4|}}}|<tr>
  </data>
    <th>Parameter 4</th>
  <data source="image">
     <td>{{{param4}}}</td>
     <label>Image</label>
</tr>}}{{#if:{{{param5|}}}|<tr>
  </data>
     <th>Parameter 5</th>
  <data source="origin">
     <td>{{{param5}}}</td>
     <label>Origin</label>
</tr>}}</table>
  </data>
</div>
  <data source="kanji">
     <label>Japanese Name</label>
  </data>
  <group collapse="closed">
     <header>Characteristics</header>
     <data source="gender">
      <label>Sex</label>
    </data>
    <data source="age">
      <label>Age</label>
     </data>
    <data source="species">
      <label>Species</label>
    </data>
    <data source="affiliation">
      <label>Affiliations</label>
     </data>
    <data source="alignment">
    <label>[[Alignment]]</label>
     </data>
    <data source="status">
      <label>Status</label>
    </data>
  </group>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
Line 49: Line 24:
|title1=Example
|title1=Example
|image1=Example
|image1=Example
|name=Example
|nickname=Example
|origin=Example
|gender=Example
|age=Example
|species=Example
|affiliation=Example
|alignment=Example
|status=Example
}}
}}
</pre>
</pre>

Latest revision as of 21:05, 16 March 2024

Infobox

Example usage:

{{Infobox
|title1=Example
|image1=Example
}}