Difference between revisions of "Template:Infobox example"

From RimWorld Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
! colspan="2" class="infoboxdescription" | Details  
 
! colspan="2" class="infoboxdescription" | Details  
 
|-
 
|-
{{#if: {{{race|}}} | {{!}} <div style="width:40%">Race</div> {{!!}} {{{race}}} }}
+
{{#if: {{{race|}}} | {{!}} <div>Race</div> {{!!}} {{{race}}} }}
 
|-
 
|-
 
{{#if: {{{location|}}} | {{!}} <div>Location</div> {{!!}} {{{location}}} }}
 
{{#if: {{{location|}}} | {{!}} <div>Location</div> {{!!}} {{{location}}} }}

Revision as of 05:31, 4 August 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

This is just a generic infobox with a few sample fields.

Usage

{{Infobox example
| name     = 
| image    = 
| race     = 
| location = 
| source   = 
| reward   = 
| related  = 
| ID       =
}}

Example

Phoebe
Phoebe
Details
Race
Human
Location
RimWorld
Source
Tynan's inner circle
Reward
Happiness
Related
Calming bliss
ID
Phoebe_ID
{{Infobox example
| name     = Phoebe
| image    = Phoebe friendly.png
| race     = Human
| location = RimWorld
| source   = Tynan's inner circle
| reward   = Happiness
| related  = Calming bliss
| ID       = Phoebe_ID
}}