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
Line 5: Line 5:
 
{{#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: {{{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>ID</div> {{!!}} {{{part}}} }}
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 14:15, 19 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       =
}}