Template:Infobox Item PIA: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
m (Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...")
 
m (Crisp edges in images)
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<infobox>
{| id="item" class="infobox" style="width:300px"
  <title source="title1">
! colspan="2" style="font-size:125%" | {{{title|{{{name}}}}}}
    <default>{{PAGENAME}}</default>
|-
  </title>
{{#if:{{{image|}}}{{{images|}}}|
  <image source="image1">
!colspan="2" style="text-align:center; image-rendering: crisp-edges" class="infobox-image" {{!}} {{#if: {{{images|}}}|{{{images}}}|[[File:{{{image|}}}]]}}
    <caption source="caption1"/>
  </image>
  <data source="row1">
    <label>Label</label>
  </data>
  <data source="row2">
    <label>Label</label>
  </data>
</infobox>
<noinclude>
Example usage:<pre>
{{Infobox Item
|title1=Example
|image1=Example
|caption1=Example
|row1=Example
|row2=Example
}}
}}
|-
{{#if:{{{description|}}}|
{{!}} '''Description'''
{{!}} {{{description}}}
}}
|-
{{#if:{{{other names|}}}|
{{!}} '''Other names'''
{{!}} {{{other names}}}
}}
|-
{{#if:{{{jp name|}}}|
{{!}} '''Jp name'''
{{!}} {{{jp name}}}
}}
|-
{{#if:{{{type|}}}|
{{!}} '''Item Type'''
{{!}} {{{type}}}
}}
|-
{{#if:{{{use|}}}|
{{!}} '''Use'''
{{!}} {{{use}}}
}}
|-
{{#if:{{{appearances|}}}|
{{!}} '''Appearances'''
{{!}} {{{appearances}}}
}}
|-
{{#if:{{{happy points|}}}|
{{!}} [[File:PIA_Happy_Point.png|center|25px|link=Happy Points]]<center>{{{happy points}}} <span style="font-weight:bold">[[Happy Points]]</span></center>
}}
{{#if:{{{moolah|}}}|
{{!}} [[File:PIA moolah.png|center|25px|link=Moolah]]<center>{{{moolah}}} <span style="font-weight:bold">[[Moolah]]</span></center>
}}
|}<noinclude>
== Usage & preview ==
Type in this:
<pre>
{{Infobox Item PIA
|name=Cookie Box
|image=PIA_Item_Cookie_Box.png
|description=Garbage left by Dad.
|other names=
|jp name=
|type=Trash
|use=Disposal
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|happy points=5
|moolah=50
}}
</pre>
</pre>
to see this:
{{Infobox Item PIA
|name=Cookie Box
|image=PIA_Item_Cookie_Box.png
|description=Garbage left by Dad.
|other names=
|jp name=
|type=Trash
|use=Disposal
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|happy points=5
|moolah=50
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 15:51, 25 August 2024

{{{name}}}


Usage & preview

Type in this:

{{Infobox Item PIA
|name=Cookie Box
|image=PIA_Item_Cookie_Box.png
|description=Garbage left by Dad.
|other names=
|jp name=
|type=Trash
|use=Disposal
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|happy points=5
|moolah=50
}}

to see this:

Cookie Box
PIA Item Cookie Box.png
Description Garbage left by Dad.
Item Type Trash
Use Disposal
Appearances Chibi-Robo! Plug Into Adventure!
PIA Happy Point.png
5 Happy Points
PIA moolah.png
50 Moolah


Click here to refresh the preview above