Decay of Logos Wiki
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| class="infoboxtable"
 
{| class="infoboxtable"
 
|-
 
|-
! colspan="2" class="infoboxname" | "{{{name}}}"
+
! colspan=2 class="name" | {{{name|{{PAGENAME}}}}}
 
|-style="text-align:center"
  +
{{#if: {{{image|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} [[File:{{{image}}}|{{{size|290px}}}]] | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''No image yet'' }}
 
|-
 
|-
 
! colspan=2 class="details" | Details
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}|250x250px]] | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}}
 
 
|-
 
|-
  +
{{#if: {{{type|}}} | ! width=80 {{!}} Type
! colspan="2" class="infoboxdetails" | Details
 
  +
{{!}} {{{type}}} }}
 
|-
 
|-
{{#if: {{{type|}}} | {{!}} width=80 {{!}} <div>Type</div> {{!!}} {{{type}}} }}
+
{{#if: {{{age|}}} | ! Age
  +
{{!}} {{{age}}} }}
 
|-
 
|-
{{#if: {{{age|}}} | {{!}} width=80 {{!}} <div>Age</div> {{!!}} {{{age}}} }}
+
{{#if: {{{location|}}} | ! Location(s)
  +
{{!}} {{{location}}} }}
 
|-
 
|-
{{#if: {{{location|}}} | {{!}} <div>Location(s)</div> {{!!}} {{{location}}} }}
+
{{#if: {{{source|}}} | ! Source
  +
{{!}} {{{source}}} }}
 
|-
 
|-
  +
{{#if: {{{ID|}}} | ! ID
! colspan="2" class="Header1" | '''Description'''
 
  +
{{!}} {{{ID}}} }}
|- style="text-align:center"
 
| colspan="2" | {{{description}}}
 
 
|-
 
|-
! colspan="2" class="Header1" | '''Quote'''
+
{{#if: {{{description|}}} | ! colspan=2 class="header" {{!}} Description
|- style="text-align:center"
+
{{!-}} style="text-align:center"
| colspan="2" | {{{quote}}}
+
{{!}} colspan=2 {{!}} {{{description}}} }}
 
|-
 
|-
{{#if: {{{source|}}} | {{!}} <div>Source</div> {{!!}} {{{source}}} }}
+
{{#if: {{{quote|}}} | ! colspan="2" class="header" {{!}} '''Quote'''
  +
{{!-}} style="text-align:center"
|-
 
{{#if: {{{ID|}}} | {{!}} <div>ID</div> {{!!}} {{{ID}}} }}
+
{{!}} colspan="2" {{!}} ''{{{quote}}} }}''
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 13:54, 2 April 2020

Infobox
No image yet
Details
Template-info.png Documentation

This is just a generic infobox with a few sample fields

Usage

{{Infobox
| type =
| name     = 
| image    = 
| age     = 
| location = 
| description = 
| quote = 
}}

Example

Hydra thing
Curse hydra.png
Details
Type Characters
Age Many age
Location(s) Somewhere
Description
A strange Snek.
Quote
'"An amazing quote."'
{{Infobox
| type = [[Characters]]
| name     = Hydra thing
| image    = Curse hydra.png
| age     = Many age
| location = Somewhere
| description = A strange Snek.
| quote = ''"An amazing quote."''
}}