Difference between revisions of "Template:Infobox"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>SandovalCurse
(Created page with "{| class="infoboxtable" |- ! colspan="2" class="infoboxname" | "{{{name}}}" |- {{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! col...")
 
>SandovalCurse
 
(80 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="infoboxtable"
 
{| class="infoboxtable"
 
|-
 
|-
! colspan="2" class="infoboxname" |  "{{{name}}}"
+
! colspan="2" class="infoboxname" |  '''{{{name}}}'''
 
|-
 
|-
 
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
|-
 
|-
! colspan="2" class="infoboxdetails" | Details  
+
! colspan="2" class="infoboxdetails" | Details
 +
|-
 +
{{#if: {{{nickname|}}} | {{!}} <div>Nickname</div> {{!!}} {{{nickname}}} }}
 +
|-
 +
{{#if: {{{catchphrase|}}} | {{!}} <div>Catchphrase</div> {{!!}} {{{catchphrase}}} }}
 +
|-
 +
{{#if: {{{element|}}} | {{!}} <div>Element</div> {{!!}} {{{element}}} }}
 +
|-
 +
{{#if: {{{class|}}} | {{!}} <div>Class</div> {{!!}} {{{class}}} }}
 +
|-
 +
{{#if: {{{weapon|}}} | {{!}} <div>Weapon</div> {{!!}} {{{weapon}}} }}
 +
|-
 +
{{#if: {{{rating|}}} | {{!}} <div>Rating</div> {{!!}} {{{rating}}} }}
 +
|-
 +
{{#if: {{{summary|}}} | ! colspan="2" {{!}} {{{summary}}} }}
 +
|-
 +
{{#if: {{{chapter|}}} | {{!}} <div>Chapter</div> {{!!}} {{{chapter}}} }}
 
|-
 
|-
 
{{#if: {{{id|}}} | {{!}} <div>ID</div> {{!!}} {{{id}}} }}
 
{{#if: {{{id|}}} | {{!}} <div>ID</div> {{!!}} {{{id}}} }}
 +
|-
 +
{{#if: {{{location|}}} | {{!}} <div>Location</div> {{!!}} {{{location}}} }}
 +
|-
 +
{{#if: {{{part|}}} | {{!}} <div>Part</div> {{!!}} {{{part}}} }}
 +
|-
 +
{{#if: {{{smallimage|}}} | ! colspan="2" {{!}} [[File:{{{smallimage}}}{{!}}{{{size|250x250px}}}]] }}
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:39, 20 September 2018

{{{name}}}
No image yet
Details
50px Documentation

This is just a generic infobox with a few sample fields

Usage

{{Infobox
| name     = 
| image    = 
| ID       = 
}}

Example

Hydra guy
250x250px
Details
{{Infobox
| name     = Hydra guy
| image    = Curse hydra.png
| ID       =
}}