Difference between revisions of "Template:RolyPolysWordInfobox"

From Osamu Sato Wiki
Jump to navigation Jump to search
(Created page with "{| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-top: 0px; margin-left:3px; margin-bottom:3px; f...")
 
m (we would need a different color for this…maybe)
Line 1: Line 1:
 
{| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-top: 0px; margin-left:3px; margin-bottom:3px; float: right;"
 
{| align=right width="250px" style="border: 2px solid #888; background: #BFBFBF; font-size:12px; -moz-border-radius:7px; margin-top: 0px; margin-left:3px; margin-bottom:3px; float: right;"
!bgcolor="#00A" colspan="2"|<font color="#FFF">'''{{{word}}}'''</font>
+
!bgcolor="#a705ed" colspan="2"|<font color="#FFF">'''{{{word}}}'''</font>
 
|-
 
|-
 
|bgcolor="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|{{{width}}}px|center]]
 
|bgcolor="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|{{{width}}}px|center]]

Revision as of 08:01, 7 May 2024

{{{word}}}
[[{{{image}}}|{{{width}}}px|center]]
Features: {{{features}}}
{{{previous}}} ← {{{current}}} → {{{next}}}


Use

This infobox is for use on pages related to the words in Roly Polys. It makes use of various parameters to change its content on the fly:

  • word: The name of the word in English.
  • image: An image of the word. It comes pre-formatted as being centered.
  • width: A custom parameter for image width. Should be an integer (e.g. do not include "px" after it).
  • features: Characters that the word features.
  • previous: The previous word.
  • current: The current word.
  • next: The next word.

Sample

Against
Against.png
Features: Pon, Banaten, Cho
ZAgainstBlue


The code beneath produces the infobox you see to the right.

Sample Code:
{{RolyPolysWordInfobox
|word=Against
|image=File:Against.png
|width=177
|features=[[Pon]], [[Banaten]], [[Cho]]
|previous=[[Z]]
|current=[[Against]]
|next=[[Blue]]
}}

The blank code can be seen beneath.

Sample Code:
{{RolyPolysWordInfobox
|word=
|image=
|width=
|features=
|previous=
|current=
|next=
}}