Template:Infobox doc/doc

From GamingAlliance - GTA RP Wiki
Revision as of 22:07, 7 April 2024 by DrunkMunki (talk | contribs) (Created page with "A template that simplifies invoking <code><span style="color: #C11312;">{{((}}#invoke:</span>Infoboxes<span style="color: #C11312;">|</span>generateInfoboxExample<span style="color: #C11312;">|{{((}}PAGENAME{{))}}{{))}}</span></code> from Module:Infoboxes<br> Intended for usage in Infobox template /doc pages.<br><br> =Usage= ==Syntax== :<code><span style="color: #9800E5;">{{((}}Infobox Doc{{))}}</span></code> <templatedata> { "params": { "1": { "label": "noi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template that simplifies invoking Template:((#invoke:Infoboxes|generateInfoboxExample|Template:((PAGENAMETemplate:))Template:)) from Module:Infoboxes
Intended for usage in Infobox template /doc pages.

Usage

Syntax

Template:((Infobox DocTemplate:))

<templatedata> { "params": { "1": { "label": "noib/noex", "description": "Flag for not including the infobox preview / Flag for not including example usage. (These options are interchangeable.)", "type": "boolean", "example": "{{#invoke:Infoboxes|generateInfoboxExample|Infobox doc/doc|noib|noex}} / {{#invoke:Infoboxes|generateInfoboxExample|Infobox doc/doc|noex|noib}}" }, "2": { "label": "noib/noex", "description": "Flag for not including the infobox preview / Flag for not including example usage. (These options are interchangeable.)", "example": "{{#invoke:Infoboxes|generateInfoboxExample|Infobox doc/doc|noib|noex}} / {{#invoke:Infoboxes|generateInfoboxExample|Infobox doc/doc|noex|noib}}", "type": "boolean" } }, "description": "", "format": "inline" } </templatedata>


Example

Output based on Template:Infobox character: {{#invoke:Infoboxes|generateInfoboxExample|Infobox character}}