Editing
Template:Get/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation}} Loads data with Semantic MediaWiki from a page. ==Usage== <pre> {{Get|page|property|separator|default=}} </pre> <code>separator</code> is an optional positional parameter with <code>,</code> as its default value. <code>default</code> is an optional named parameter with a blank value as its default value. Its value will be shown in case the query has no result. ===Examples=== <pre> Basic Omelettes are used in the {{Get|Basic Omelette|Profession A}} profession. </pre> Basic Omelettes are used in the {{Get|Basic Omelette|Profession A}} profession. <pre> Cooking Basic Omelettes require Guard level: {{Get|Basic Omelette|Guard|default=N/A}}. </pre> Cooking Basic Omelettes require Guard level: {{Get|Basic Omelette|Guard|default=N/A}}. <includeonly>[[Category:SMW templates]]</includeonly> {{TemplateData|<templatedata> { "params": { "1": { "label": "Page", "description": "Name of the page to retrieve data from", "example": "Basic Ommlette", "type": "wiki-page-name", "required": true }, "2": { "label": "Property", "description": "Name of the property to retrieve", "example": "Profession A", "type": "string", "required": true }, "3": { "label": "Separator", "description": "Define a separator in case the property returns a list of data", "example": ";", "default": "," }, "default": { "label": "default value", "description": "Value/text to show in case the query has no result.", "example": "N/A", "type": "string", "default": "Result will be empty; nothing is shown.", "suggested": true } }, "description": "Retrieve properties set by Semantic mediawiki.", "format": "inline" } </templatedata> }}
Summary:
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see
Brighter Shores:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:Documentation
(
edit
)
Template:Get
(
edit
)
Template:TemplateData
(
edit
)
Module:Array
(
edit
)
Module:DPLlua
(
edit
)
Module:DependencyList
(
edit
)
Module:Documentation
(
edit
)
Module:Paramtest
(
edit
)
Module:Tooltip
(
edit
)
Module:Yesno
(
view source
) (semi-protected)
This page is a member of a hidden category:
Category:Templates using TemplateData
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
British English
Views
Read
Edit source
View history
More
Refresh
Search
Discord
Discord
Navigation
About us
User help
Random page
Recent changes
Loot Box
32m
ago
-
Dan
Fillan
32m
ago
-
Dan
Help Rachella
32m
ago
-
Dan
Spring of Delight
33m
ago
-
Dan
Show more...
Brighter Shores
Professions
Factions
Episodes
Premium Pass
Monsters
Quests
Community
Policies
Tools
What links here
Related changes
Special pages
Page information