Jump to content

Template:OOO-LinkExternal: Difference between revisions

From Out of Ore Wiki
Created page with "<span class="ooo-extlink">[{{{url}}} {{{title}}}]</span> <noinclude> == Usage == Creates a styled external link. Example: <pre> {{OOO-LinkExternal |url=https://outofore.com |title=Official Website }} </pre> Result: {{OOO-LinkExternal |url=https://outofore.com |title=Official Website }} == Parameters == * <code>url</code> – external link * <code>title</code> – text shown to users <templatedata> { "description": "Styled external link used across the OOO wiki..."
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<span class="ooo-extlink">[{{{url}}} {{{title}}}]</span>
<span class="ooo-extlink">[{{{url}}} {{{title}}}]</span>
</span>
</includeonly>


<noinclude>
<noinclude>
Line 30: Line 33:
<templatedata>
<templatedata>
{
{
"description": "Styled external link used across the OOO wiki.",
  "description": "Styled external link used across the OOO wiki.",
"params": {
  "params": {
"url": {
    "url": {
"label": "URL",
      "label": "URL",
"description": "External website address.",
      "description": "External website address.",
"type": "url",
      "type": "url",
"required": true
      "required": true
},
    },
"title": {
    "title": {
"label": "Link title",
      "label": "Link title",
"description": "Text displayed for the link.",
      "description": "Text displayed for the link.",
"type": "string",
      "type": "string",
"required": true
      "required": true
}
    }
}
  }
}
}
</templatedata>
</templatedata>

Latest revision as of 20:12, 6 March 2026



Usage

Creates a styled external link.

Example:

{{OOO-LinkExternal
|url=https://outofore.com
|title=Official Website
}}

Result:


Official Website



Parameters

  • url – external link
  • title – text shown to users

Styled external link used across the OOO wiki.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
URLurl

External website address.

URLrequired
Link titletitle

Text displayed for the link.

Stringrequired