Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
{| | {| | ||
| − | |{{#if:{{{developer|}}}|{{!}}'''[[:Category:Developers|Developer(s)]]'''{{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}}|| | + | |
| − | <!--List-->{{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]$2}}| | + | |{{#if:{{{developer|}}} |
| − | }}}} | + | |<!--True Half Of Developer title rip --> |
| + | <!-- First element --> | ||
| + | {{!}}'''[[:Category:Developers|Developer(s)]]''' | ||
| + | <!-- Silly double-bang inserts a new table element instead of escaping the if --> | ||
| + | {{!!}}{{#ifeq:{{#regex:{{{developer|}}}|/>/rs|}} | ||
| + | ||<!-- Next table data element --> | ||
| + | <!--List--> | ||
| + | <!-- Regex strip to build category of developers? --> | ||
| + | {{#regex:{{{developer|}}}|/([^,]+)(,? ?)/rs| | ||
| + | <!-- For each developer found --> | ||
| + | [[:Category:$1 (Developer)|$1]][[Category:$1 (Developer)]]$2}} | ||
| + | | | ||
| + | <!-- ifeq:developer false half --> | ||
| + | }} | ||
| + | </tr> | ||
| + | |<!-- False half of if developer --> <tr>WOmp</tr> | ||
| + | }} | ||
| + | |||
|{{#if:{{{storefront|}}}|{{!}}'''Storefront(s)'''{{!!}}{{#ifeq:{{#regex:{{{storefront|}}}|/>/rs|}}|| | |{{#if:{{{storefront|}}}|{{!}}'''Storefront(s)'''{{!!}}{{#ifeq:{{#regex:{{{storefront|}}}|/>/rs|}}|| | ||
| − | <!--List-->{{#regex:{{{storefront|}}}|/([^,]+)(,? ?)/rs|[[:Category:On $1|$1]][[Category:On $1]]$2}}| | + | <!--List-->{{#regex:{{{storefront|}}}|/([^,]+)(,? ?)/rs|[[:Category:On $1|$1]][[Category:On $1]]$2}}</tr>| |
}}}} | }}}} | ||
|{{#if:{{{os|}}}|<tr> | |{{#if:{{{os|}}}|<tr> | ||
| Line 32: | Line 49: | ||
|} | |} | ||
</div> | </div> | ||
| + | {{Infobox | ||
| + | |image = WorldofGoo.png | ||
| + | |developer = 2D Boy | ||
| + | |publisher = testing | ||
| + | |storefront = Steam, GOG | ||
| + | |genre = Muffins | ||
| + | |os = Linux | ||
| + | |engine = U1nique | ||
| + | |arch = x86-32, x86-64 | ||
| + | |cpufeats = Unknown | ||
| + | |compat = Playable | ||
| + | }} | ||
| + | |||
| + | Text here | ||
Revision as of 09:00, 15 October 2020
Infobox
WOmpInfobox
| Developer(s) | 2D Boy |
| Storefront(s) | Steam, GOG |
| Operating System | Linux |
|---|---|
| Engine | U1nique |
| Architecture | x86-32, x86-64 |
| CPU Features Used | Unknown |
| Compatibility | Playable |
Template loop detected: Template:Infobox
Text here
Text here