Template:Host only: Difference between revisions

From FiguraMC
PenguinEncounter (talk | contribs)
big ahh warning
Tag: 2017 source edit
 
PenguinEncounter (talk | contribs)
Use warning style template
Tag: 2017 source edit
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Notice
{{Notice/Warning
  |content=
  |content=
<div style="font-size: 1.5em; font-weight: bold; margin: 0.5em 0 0 0;">This {{{kind|API}}} is only available on the host.</div>
<div style="font-size: 1.5em; font-weight: bold; margin: 0.5em 0 0 0;">This {{{kind|API}}} is only available on the host.</div>
{{#if:{{{extra|}}}|{{{extra}}}
{{#if:{{{extra|}}}|{{{extra}}}
}}For more information, see [[Pings]].
}}For more information, see [[Pings]].
|outline=#f2a03c
}}<noinclude>
|background=#ffe8cc
<templatedata>
}}
{
"params": {
"kind": {
"label": "Kind",
"description": "Noun describing the thing that is host-only",
"example": "API",
"type": "content",
"suggestedvalues": [
"API",
"function",
"method",
"field"
],
"default": "API"
},
"extra": {
"label": "Additional text",
"description": "Additional content rendered between the heading and the 'for more information' text.",
"type": "content"
}
}
}
</templatedata>
</noinclude>

Latest revision as of 17:01, 29 September 2024

This API is only available on the host.

For more information, see Pings.

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Kindkind

Noun describing the thing that is host-only

Suggested values
API function method field
Default
API
Example
API
Contentoptional
Additional textextra

Additional content rendered between the heading and the 'for more information' text.

Contentoptional