Template:Infobox OC: Difference between revisions

From Pix & Bit Wiki
Jump to navigationJump to search
Content added Content deleted
(Added example and instructions)
No edit summary
Line 1: Line 1:
<includeonly>{| class="oc_infobox" style="margin:auto; width: 200px; float: right;"
<includeonly>

{| class="oc_infobox" style="margin:auto; width: 200px; float: right;"
|+ {{{name}}}
|+ {{{name}}}
|-
|-
{{#if: {{{image|caption}}}
{{#if: {{{image|caption}}}
|<tr><td>[[File:{{{image}}}|250px|{{{caption}}} ]]</td></tr>}}
|<tr><td>[[File:{{{image}}}|250px|{{{caption}}} ]]</td></tr>}}

{{#if: {{{quote|}}}
{{#if: {{{quote|}}}
|<tr><td>''"{{{quote}}}"''</td></tr>}}
|<tr><td>''"{{{quote}}}"''</td></tr>}}
Line 19: Line 16:
{{#if: {{{creator|}}}
{{#if: {{{creator|}}}
|<tr><td>Creator: {{{creator}}}</td></tr>}}
|<tr><td>Creator: {{{creator}}}</td></tr>}}
|}</includeonly>
|}

</includeonly>
<noinclude>
<noinclude>
{{infobox OC
{{infobox OC

Revision as of 22:13, 15 March 2023


LEGO Pix
by Jpepwepy
"I turned myself into a LEGO, Bit!!"
Character Info
Species: LEGO
Canon: LEGO

Example Usage

This code represents the LEGO Pix infobox to the right:

{{infobox OC
| name = LEGO Pix
| image = Jpepwepy-lego-pix.jpg
| caption = by Jpepwepy
| quote = I turned myself into a LEGO, Bit!!
| species = LEGO
| canon = LEGO}}

This code should be inserted at the top of the page, before the rest of the content.

If some information isn't available, you can just erase the full line. The template will work as long as there is a name.