Template:Gem: Difference between revisions

From MMC
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="padding:1px" class="noexcerpt">''[[Image:Gem.png|25px]] {{{name|{{PAGENAME}}}}} {{#if:{{{plural|}}}|are|is a}} {{gemtext|[[Gems|gem{{#if:{{{plural|}}}|s}}]]}}.''
<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>
 
{{#if:{{{content|}}}|<div></div>}}
{{{content|}}}''</div>
<includeonly>[[Category:Gems]]</includeonly>
<includeonly>[[Category:Gems]]</includeonly>
<noinclude>
<noinclude>
Line 19: Line 18:
"content": {
"content": {
"label": "Content",
"label": "Content",
"description": "Additional content displayed after the intro line",
"description": "Text appended after the name",
"type": "string"
"type": "string"
}
}

Latest revision as of 14:04, 3 June 2026

 Gem is a gem.


Used to describe things that are gemmy

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Pluralplural

Set this to anything to pluralize the text

Stringoptional
Namename

Replaces the page name with a custom name

Stringoptional
Contentcontent

Text appended after the name

Stringoptional