Template:Group: Difference between revisions

From gm_construct 13 beta
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 16: Line 16:
|-
|-
<!--
<!--
|-
!style="background:#EFEFEF; width:100px"|Abbreviation
|style="background:white; width:200px; text-align:left;"|{{{abbreviation}}}
|-
!style="background:#EFEFEF; width:100px"|Description
!style="background:#EFEFEF; width:100px"|Description
|style="background:white; width:200px; text-align:left;"|{{{description}}}
|style="background:white; width:200px; text-align:left;"|{{{description}}}
Line 24: Line 28:
!style="background:#EFEFEF; width:100px"|Enemies
!style="background:#EFEFEF; width:100px"|Enemies
|style="background:white; width:200px; text-align:left;"|{{{enemies}}}
|style="background:white; width:200px; text-align:left;"|{{{enemies}}}
|-
!style="background:#EFEFEF; width:100px"|Date of creation
|style="background:white; width:200px; text-align:left;"|{{{date of creation}}}
|-
|-
-->
-->
{{#if:{{{abbreviation|}}}|
  {{!}}style="background:#EFEFEF; width:100px"{{!}}Abbreviation
  {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{abbreviation}}}
  {{!}}-
}}
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Description
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Description
Line 42: Line 48:
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Enemies
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Enemies
   {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{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}}}
   {{!}}-
   {{!}}-
}}
}}
Line 52: Line 53:
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Disbanded
   {{!}}style="background:#EFEFEF; width:100px"{{!}}Disbanded
   {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{disbanded}}}
   {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{disbanded}}}
  {{!}}-
}}
{{#if:{{{created|}}}|
  {{!}}style="background:#EFEFEF; width:100px"{{!}}Created
  {{!}}style="background:white; width:200px; text-align:left;"{{!}}{{{created}}}
   {{!}}-
   {{!}}-
}}
}}
Line 64: Line 70:
   | image=Example.png
   | image=Example.png
   | caption=Example
   | caption=Example
  | abbreviation=Example
   | description=Example
   | description=Example
   | allies=Example
   | allies=Example
   | enemies=Example
   | enemies=Example
   | date of creation=Jan 01, 2000
   | created=Jan 01, 2000
   | disbanded=Example
   | disbanded=Example
}}
}}
Line 75: Line 82:
"params": {
"params": {
"title": {
"title": {
"suggested": true,
"type": "string",
"required": true
},
"image": {
"type": "wiki-file-name",
"required": true
},
"caption": {
"type": "string"
"type": "string"
},
},
"image": {
"abbreviation": {
"suggested": true,
"type": "string"
"type": "wiki-file-name"
},
},
"description": {
"description": {
"type": "string",
"type": "string",
"suggested": true
"required": true
},
"caption": {
"suggested": true,
"type": "string"
},
},
"allies": {
"allies": {
"suggested": true,
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"enemies": {
"enemies": {
"suggested": true,
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
"date of creation": {
"disbanded": {
"suggested": true,
"type": "date"
"type": "date"
},
},
"disbanded": {
"created": {
"suggested": true,
"type": "date"
"type": "date"
}
}
Line 112: Line 117:
"image",
"image",
"caption",
"caption",
"abbreviation",
"description",
"description",
"allies",
"allies",
"enemies",
"enemies",
"date of creation",
"created",
"disbanded"
"disbanded"
]
]

Latest revision as of 00:55, 27 August 2023

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

{{{caption}}}

General


Example usage:

{{Location
  | title=Example
  | image=Example.png
  | caption=Example
  | abbreviation=Example
  | description=Example
  | allies=Example
  | enemies=Example
  | created=Jan 01, 2000
  | disbanded=Example
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Stringrequired
imageimage

no description

Filerequired
captioncaption

no description

Stringoptional
abbreviationabbreviation

no description

Stringoptional
descriptiondescription

no description

Stringrequired
alliesallies

no description

Page nameoptional
enemiesenemies

no description

Page nameoptional
createdcreated

no description

Dateoptional
disbandeddisbanded

no description

Dateoptional