Template:Gem: Difference between revisions

From MMC
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 1: Line 1:
<div class="noexcerpt" style="display:inline-flex; align-items:center; gap:10px; background:#f0f6fa; border:1.5px solid #2a6a8a; border-radius:5px; padding:5px 12px; font-style:italic; color:#1a2e3a;">[[Image:Gem.png|22px]]&nbsp;''<span style="font-weight:700; font-style:normal;">{{{name|{{PAGENAME}}}}}</span> {{{content|{{#if:{{{plural|}}}|are|is a}} {{gemtext|[[Gems|gem{{#if:{{{plural|}}}|s}}]]}}}}}.''</div>
{{Box
{{#if:{{{content|}}}|<div></div>}}
|bg=#f0f6fa
<includeonly>[[Category:Gems]]</includeonly>
|border=#2a6a8a
<noinclude>
|color=#1a2e3a
|icon=Gem.png
|iconsize=22px
|content=''<span style="font-weight:700; font-style:normal;">{{{name|{{PAGENAME}}}}}</span> {{{content|{{#if:{{{plural|}}}|are|is a}} {{gemtext|[[Gems|gem{{#if:{{{plural|}}}|s}}]]}}}}}.''
}}<includeonly>[[Category:Gems]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
"params": {
  "params": {
"plural": {
    "plural": { "label": "Plural", "description": "Set to anything to pluralize", "type": "string" },
"label": "Plural",
    "name": { "label": "Name", "description": "Replaces page name", "type": "string" },
"description": "Set this to anything to pluralize the text",
    "content": { "label": "Content", "description": "Custom text after the name", "type": "string" }
"type": "string"
  },
},
  "description": "Used to describe things that are gemmy"
"name": {
"label": "Name",
"description": "Replaces the page name with a custom name",
"type": "string"
},
"content": {
"label": "Content",
"description": "Text appended after the name",
"type": "string"
}
},
"description": "Used to describe things that are gemmy"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 05:12, 6 June 2026

 Gem is a gem.

Used to describe things that are gemmy

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Pluralplural

Set to anything to pluralize

Stringoptional
Namename

Replaces page name

Stringoptional
Contentcontent

Custom text after the name

Stringoptional