Template:Group: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
(Created page with " <noinclude> <templatedata> { "params": { "Image": { "type": "wiki-file-name", "suggested": true }, "Description": { "required": true, "suggested": true }, "Name": {}, "Abbreviation": {} }, "description": "Group Template", "paramOrder": [ "Image", "Name", "Abbreviation", "Description" ] } </templatedata> </noinclude>")
 
No edit summary
Line 1: Line 1:
{|class=infobox style="background:#f8f9fa; border:1px #a2a9b1 solid; float: right; margin-left: 20px; margin-bottom: 20px;"
|-align=center
|
{|width=100% align=right style="background:transparent; font-size:80%"
|-align=center
!<font size=3>{{{title}}}</font>
|-align=center
|[[File:{{{image}}}|250px|center]]
{{#if:{{{caption}}}|''{{{caption}}}''}}
|}
|-
|colspan=2|
{|style="background:#DCDCDC; color:black; font-size:85%; width:290px; padding:2px; text-align:center; margin:auto" cellspacing=1
|-
!colspan=2 style="padding-bottom:1px; padding-left:20px; padding-right:20px"|General
|-
!style="background:#EFEFEF; width:100px"|Type
|style="background:white; width:200px; text-align:left;"|{{{type}}}
|-
{{#if:{{{allies|}}}|
  {{!}}style="background:#EFEFEF; width:100px"{{!}}Allies
  {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{allies}}}
  {{!}}-
}}
{{#if:{{{enemies|}}}|
  {{!}}style="background:#EFEFEF; width:100px"{{!}}Enemies
  {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{enemies}}}
  {{!}}-
}}
{{#if:{{{date of creation|}}}|
  {{!}}style="background:#EFEFEF; width:100px"{{!}}Date of creation
  {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{date of creation}}}
  {{!}}-
}}
|}
|}


<noinclude>
<noinclude>
Example usage:
<pre>
{{Location
  | title=Example
  | image=Example
  | caption=Example
  | type=Example
  | allies=Example
  | enemies=Example
  | date of creation=Example
}}
</pre>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Image": {
"title": {
"type": "wiki-file-name",
"suggested": true,
"suggested": true
"type": "string"
},
},
"Description": {
"image": {
"required": true,
"suggested": true,
"suggested": true
"type": "wiki-file-name"
},
},
"Name": {},
"caption": {
"Abbreviation": {}
"suggested": true,
"type": "string"
},
"type": {
"suggested": true,
"type": "string",
"default": "Location",
"autovalue": "Location"
},
"allies": {
"suggested": true,
"type": "string"
},
"enemies": {
"suggested": true,
"type": "string"
},
"date of creation": {
"suggested": true,
"type": "string"
}
},
},
"description": "Group Template",
"sets": []
"paramOrder": [
"Image",
"Name",
"Abbreviation",
"Description"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 03:10, 16 November 2022

{{{title}}}
[[File:{{{image}}}|250px|center]]

{{{caption}}}

General
Type {{{type}}}


Example usage:

{{Location
  | title=Example
  | image=Example
  | caption=Example
  | type=Example
  | allies=Example
  | enemies=Example
  | date of creation=Example
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Stringsuggested
imageimage

no description

Filesuggested
captioncaption

no description

Stringsuggested
typetype

no description

Default
Location
Auto value
Location
Stringsuggested
alliesallies

no description

Stringsuggested
enemiesenemies

no description

Stringsuggested
date of creationdate of creation

no description

Stringsuggested