Site notice
Welcome! Please check To-Do List to see what pages need help, who is working on what, etc.

Difference between revisions of "Template:Infobox"

From Mega Man Wiki
m (Was wondering why this was listed under "M", which isn't even in the template name. The autocat2 template continues to be nonsensical.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{doc}}<noinclude>{{doc}}{{autocat2|Main templates|Infobox templates}}</noinclude>
{{doc}}[[Category:Main templates]][[Category:Infobox templates|*]]</noinclude>
</noinclude>

Latest revision as of 19:06, 20 January 2022

Documentation

Taken from [1] on April 23th, 2020.

Example

{{Infobox
| name = Game Infobox
| image = {{{image|}}}
| caption1 = {{{caption|}}}
| title = Game Info

| header1 = General information

| label2 = Game Title: 
| data2 = {{{game_title|}}}

| label3 = Developer:
| data3 = {{{developer|}}}

| label4 = Publisher:
| data4 = {{{publisher|}}}

| label5 = Release Dates:
| data5 = {{{release_dates|}}}

| label6 = Genres:
| data6 = {{{genres|}}}

| label7 = Game modes:
| data7 = {{{game_modes|}}}

| label8 = Ratings:
| data8 = {{{ratings|}}}

| label9 = Platforms:
| data9 = {{{platforms|}}}
}}

which is rendered as

Game Info
General information

See Also