Difference between revisions of "Template:RolyPolysWordInfobox"
Jump to navigation
Jump to search
OsamuSatoFan (talk | contribs) m (we would need a different color for this…maybe) |
Where am i (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
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="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|{{{width}}}px|center]] | |bgcolor="#000" colspan="2" style="padding:3px;"|[[{{{image}}}|{{{width}}}px|center]] | ||
|- | |- | ||
Line 13: | Line 11: | ||
==Use== | ==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: | 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: | ||
− | |||
*'''image:''' An image of the word. It comes pre-formatted as being centered. | *'''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). | *'''width:''' A custom parameter for image width. Should be an integer (e.g. do not include "px" after it). | ||
Line 23: | Line 20: | ||
==Sample== | ==Sample== | ||
{{RolyPolysWordInfobox | {{RolyPolysWordInfobox | ||
− | |||
|image=File:Against.png | |image=File:Against.png | ||
− | |width= | + | |width=200 |
|features=[[Pon]], [[Banaten]], [[Cho]] | |features=[[Pon]], [[Banaten]], [[Cho]] | ||
|previous=[[Z]] | |previous=[[Z]] | ||
Line 38: | Line 34: | ||
|- | |- | ||
|<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{RolyPolysWordInfobox | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{RolyPolysWordInfobox | ||
− | |||
|image=File:Against.png | |image=File:Against.png | ||
− | |width= | + | |width=200 |
|features=[[Pon]], [[Banaten]], [[Cho]] | |features=[[Pon]], [[Banaten]], [[Cho]] | ||
|previous=[[Z]] | |previous=[[Z]] | ||
Line 53: | Line 48: | ||
|- | |- | ||
|<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{RolyPolysWordInfobox | |<pre style="background-color: inherit; border: none; color: inherit; padding: inherit">{{RolyPolysWordInfobox | ||
− | |||
|image= | |image= | ||
|width= | |width= |
Latest revision as of 12:17, 7 May 2024
[[{{{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:
- 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
Features: Pon, Banaten, Cho | |
Z ← Against → Blue |
The code beneath produces the infobox you see to the right.
Sample Code: |
{{RolyPolysWordInfobox |image=File:Against.png |width=200 |features=[[Pon]], [[Banaten]], [[Cho]] |previous=[[Z]] |current=[[Against]] |next=[[Blue]] }} |
The blank code can be seen beneath.
Sample Code: |
{{RolyPolysWordInfobox |image= |width= |features= |previous= |current= |next= }} |