Template:MiiversePostRow: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(well, almost) |
(I think I edited it right) |
||
Line 19: | Line 19: | ||
|-{{#if:{{{bg|}}}|style="background:{{#switch:{{lc:{{{bg|}}}}}|newcomer=rgba(255,0,0,0.25)|veteran=rgba(255,127,0,0.25)|stage=rgba(0,255,0,0.25)|assist=rgba(0,0,255,0.25)|move=rgba(255,0,255,0.25)|item=rgba(255,255,0,0.25)|other=rgba(0,255,255,0.25)}}"}} | |-{{#if:{{{bg|}}}|style="background:{{#switch:{{lc:{{{bg|}}}}}|newcomer=rgba(255,0,0,0.25)|veteran=rgba(255,127,0,0.25)|stage=rgba(0,255,0,0.25)|assist=rgba(0,0,255,0.25)|move=rgba(255,0,255,0.25)|item=rgba(255,255,0,0.25)|other=rgba(0,255,255,0.25)}}"}} | ||
{{#if:{{{reply3image|}}}|{{!}}[[Image:{{{reply3image}}}|100x50px]]}} | {{#if:{{{reply3image|}}}|{{!}}[[Image:{{{reply3image}}}|100x50px]]}} | ||
{{#if:{{{reply3|}}}|{{!}}{{{reply3}}}}}<noinclude> | {{#if:{{{reply3|}}}|{{!}}{{{reply3}}}}} | ||
|-{{#if:{{{bg|}}}|style="background:{{#switch:{{lc:{{{bg|}}}}}|newcomer=rgba(255,0,0,0.25)|veteran=rgba(255,127,0,0.25)|stage=rgba(0,255,0,0.25)|assist=rgba(0,0,255,0.25)|move=rgba(255,0,255,0.25)|item=rgba(255,255,0,0.25)|other=rgba(0,255,255,0.25)}}"}} | |||
{{#if:{{{reply4image|}}}|{{!}}[[Image:{{{reply4image}}}|100x50px]]}} | |||
{{#if:{{{reply4|}}}|{{!}}{{{reply4}}}}} | |||
|-{{#if:{{{bg|}}}|style="background:{{#switch:{{lc:{{{bg|}}}}}|newcomer=rgba(255,0,0,0.25)|veteran=rgba(255,127,0,0.25)|stage=rgba(0,255,0,0.25)|assist=rgba(0,0,255,0.25)|move=rgba(255,0,255,0.25)|item=rgba(255,255,0,0.25)|other=rgba(0,255,255,0.25)}}"}} | |||
{{#if:{{{reply5image|}}}|{{!}}[[Image:{{{reply5image}}}|100x50px]]}} | |||
{{#if:{{{reply5|}}}|{{!}}{{{reply5}}}}} | |||
|-{{#if:{{{bg|}}}|style="background:{{#switch:{{lc:{{{bg|}}}}}|newcomer=rgba(255,0,0,0.25)|veteran=rgba(255,127,0,0.25)|stage=rgba(0,255,0,0.25)|assist=rgba(0,0,255,0.25)|move=rgba(255,0,255,0.25)|item=rgba(255,255,0,0.25)|other=rgba(0,255,255,0.25)}}"}} | |||
{{#if:{{{reply6image|}}}|{{!}}[[Image:{{{reply6image}}}|100x50px]]}} | |||
{{#if:{{{reply6|}}}|{{!}}{{{reply6}}}}} | |||
<noinclude> | |||
|} | |} | ||
==Usage== | ==Usage== | ||
Line 33: | Line 43: | ||
reply = reply, if there is one | reply = reply, if there is one | ||
replyimage = image of reply, if there is one | replyimage = image of reply, if there is one | ||
reply1, reply2, reply3 = for multiple replies | reply1, reply2, reply3 and so on to reply6 = for multiple replies | ||
reply1image, reply2image, reply3image | reply1image, reply2image, reply3image and so on to reply6image | ||
</pre> | </pre> | ||
Revision as of 05:47, December 22, 2014
Date | Image | Comment | Notes | Link |
---|---|---|---|---|
{{{date}}} | [[Image:{{{image}}}|100x50px]] | {{{text}}} | — |
Usage
Intended for this article, though can in theory be used for any sort of Miiverse post listing.
bg = "newcomer", "veteran", "stage", "assist", "move", "item", or "other" - colour-codes row (assist is for both ATs and Pokémon) date = date of post text = text of post image = image of post (just the filename) postID = the URL fragment that comes after /posts/ notes = notes such as "at the time, the community thought it meant this" reply = reply, if there is one replyimage = image of reply, if there is one reply1, reply2, reply3 and so on to reply6 = for multiple replies reply1image, reply2image, reply3image and so on to reply6image
Note that:
- ...it is assumed that an image cannot exist without accompanying text
- ...it is assumed that either the original post is the only image, or each post has its own image
- ...things may or may not work if a later reply is specified but an earlier one is not.