Difference between revisions of "Template:Infobox"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>SandovalCurse
>SandovalCurse
 
(38 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>}} }}
Line 12: Line 12:
 
|-
 
|-
 
{{#if: {{{element|}}} | {{!}} <div>Element</div> {{!!}} {{{element}}} }}
 
{{#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: {{{summary|}}} | ! colspan="2" {{!}} {{{summary}}} }}
Line 22: Line 28:
 
|-
 
|-
 
{{#if: {{{part|}}} | {{!}} <div>Part</div> {{!!}} {{{part}}} }}
 
{{#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       =
}}