Template:Infobox Room PIA: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...")
 
mNo edit summary
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox>
{| id="location" class="infobox" style="width:300px"
  <title source="title1">
! colspan="3" style="font-size:125%" | {{{title|{{{name}}}}}}
    <default>{{PAGENAME}}</default>
|-
  </title>
{{#if:{{{image|}}}{{{images|}}}|
  <image source="image1">
!colspan="3" style="text-align:center" 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 Room
|title1=Example
|image1=Example
|caption1=Example
|row1=Example
|row2=Example
}}
}}
|-
{{#if:{{{jp name|}}}|
{{!}} '''Jp name'''
! colspan="2" {{!}} {{{jp name}}}
}}
|-
{{#if:{{{appearances|}}}|
{{!}} '''Appearances'''
! colspan="2" {{!}} {{{appearances}}}
}}
|-
{{#if:{{{connecting rooms|}}}|
{{!}} '''Connecting Rooms'''
! colspan="2" {{!}} {{{connecting rooms}}}
}}
|-
{{#if:{{{chibi-doors|}}}|
{{!}} [[File:PIA Map Icon Chibi-Door.png|center|40px|link=Chibi-Door]]<center>{{{chibi-doors}}} <span style="font-weight:bold">[[Chibi-Door]]s</span></center>
}}
{{#if:{{{outlets|}}}|
{{!}} [[File:PIA Map Icon Plug.png|center|40px|link=Outlet]]<center>{{{outlets}}} <span style="font-weight:bold">[[Outlet]]s</span></center>
}}
{{#if:{{{utilibots|}}}|
{{!}} [[File:PIA Map Icon Utilibot.png|center|40px|link=Utilibot]]<center>{{{utilibots}}} <span style="font-weight:bold">[[Utilibot]]s</span></center>
}}
|}<noinclude>
= Usage & preview =
Type in this:
<pre>
{{Infobox Room PIA
|name=Living Room
|images=<tabber>Day=[[File:PIA_Room_Map_Living_Room_Day.png]] |-|Night=[[File:PIA_Room_Map_Living_Room_Night.png]]</tabber>
|jp name=
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|connecting rooms=[[Backyard (Plug Into Adventure!)|Backyard]]<br>[[Chibi-House#Chibi-Robo!_Plug_Into_Adventure!|Chibi-House]]<br>[[Foyer]]<br>[[Kitchen (Plug Into Adventure!)|Kitchen]]
|chibi-doors=9
|outlets=6
|utilibots=2
}}
</pre>
</pre>
to see this:
{{Infobox Room PIA
|name=Living Room
|images=<tabber>Day=[[File:PIA_Room_Map_Living_Room_Day.png]] |-|Night=[[File:PIA_Room_Map_Living_Room_Night.png]]</tabber>
|jp name=
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|connecting rooms=[[Backyard (Plug Into Adventure!)|Backyard]]<br>[[Chibi-House#Chibi-Robo!_Plug_Into_Adventure!|Chibi-House]]<br>[[Foyer]]<br>[[Kitchen (Plug Into Adventure!)|Kitchen]]
|chibi-doors=9
|outlets=6
|utilibots=2
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
</noinclude>

Latest revision as of 22:12, 30 June 2024

{{{name}}}

Usage & preview

Type in this:

{{Infobox Room PIA
|name=Living Room
|images=<tabber>Day=[[File:PIA_Room_Map_Living_Room_Day.png]] |-|Night=[[File:PIA_Room_Map_Living_Room_Night.png]]</tabber>
|jp name=
|appearances=''[[Chibi-Robo! Plug Into Adventure!]]''
|connecting rooms=[[Backyard (Plug Into Adventure!)|Backyard]]<br>[[Chibi-House#Chibi-Robo!_Plug_Into_Adventure!|Chibi-House]]<br>[[Foyer]]<br>[[Kitchen (Plug Into Adventure!)|Kitchen]]
|chibi-doors=9
|outlets=6
|utilibots=2
}}

to see this:

Living Room
PIA Room Map Living Room Day.png
PIA Room Map Living Room Night.png
Appearances Chibi-Robo! Plug Into Adventure!
Connecting Rooms Backyard
Chibi-House
Foyer
Kitchen
PIA Map Icon Chibi-Door.png
9 Chibi-Doors
PIA Map Icon Plug.png
6 Outlets
PIA Map Icon Utilibot.png
2 Utilibots


Click here to refresh the preview above