From Dark and Darker Wiki

< Template:NodeMarkup

mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
"1": {
"1": {
"label": "Name",
"label": "Name",
"description": "<Name of Template>/<Page to Transclude>/<Page to Link>",
"description": "<Name of Template>/<Page to Transclude>/<Page to Link>. If no value is passed, the markup won't generate a link, it will only color it.",
"required": true,
"required": false,
"type": "string"
"type": "string"
},"2": {
},"2": {
"label": "Display Name",
"label": "Display Name",
"description": "Name to display or tag onto Transclusion calls",
"description": "Name to display or add onto Transclusion calls",
"type": "string"
"type": "string"
},"link": {
},"link": {
"label": "Markup Type",
"label": "Markup Type",
"description": "Name to display or tag onto Transclusion calls",
"description": "Determines markup behavior. Marks up parameter 1 with link style.",
"suggestedvalues": ["t"],
"suggestedvalues": ["t"],
"type": "string"
"type": "string"
},"transclusion": {
},"transclusion": {
"label": "Markup Type",
"label": "Markup Type",
"description": "Name to display or tag onto Transclusion calls",
"description": "Determines markup behavior. Marks up parameter 1 with transclusion style.",
"suggestedvalues": ["t"],
"suggestedvalues": ["t"],
"type": "string"
"type": "string"
},"template": {
},"template": {
"label": "Markup Type",
"label": "Markup Type",
"description": "Name to display or tag onto Transclusion calls",
"description": "Determines markup behavior. Marks up parameter 1 with template style.",
             "suggestedvalues": ["t"],
             "suggestedvalues": ["t"],
"type": "string"
"type": "string"

Latest revision as of 05:46, 26 July 2024

Marks up a Template/Transclusion/Link Hierarchy node with proper wikitext syntax and displaying Template Docs in a tooltip. Defaults to Template Markup.

Template parameters

ParameterDescriptionTypeStatus
Name1

<Name of Template>/<Page to Transclude>/<Page to Link>. If no value is passed, the markup won't generate a link, it will only color it.

Stringoptional
Display Name2

Name to display or add onto Transclusion calls

Stringoptional
Markup Typelink

Determines markup behavior. Marks up parameter 1 with link style.

Suggested values
t
Stringoptional
Markup Typetransclusion

Determines markup behavior. Marks up parameter 1 with transclusion style.

Suggested values
t
Stringoptional
Markup Typetemplate

Determines markup behavior. Marks up parameter 1 with template style.

Suggested values
t
Stringoptional