Template:DWUser/doc: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
Created page with " <templatedata> { "params": { "1": { "label": "Username", "type": "string", "required": true } }, "description": "Adds a link to a dreamwidth profile" } </templatedata>"
 
Icie (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Use the text <code><nowiki>{{DWUser|dreamwidthUser}}</nowiki></code> on any page to create a quicklink to a dreamwidth username's profile. Eg:
<code><nowiki>{{DWUser|aicqt}}</nowiki></code> gives {{DWUser|aicqt}}
[[Category: Generating Template]][[Category: Link Template]]
<templatedata>
<templatedata>
{
{
Line 7: Line 9:
"type": "string",
"type": "string",
"required": true
"required": true
},
"2": {
"label": "Before",
"description": "Text to insert before the username that will be displayed in an inline-block with the username.",
"type": "string"
},
"3": {
"label": "After",
"description": "Text to insert after the username that will be displayed in an inline-block with the username.",
"type": "string"
}
}
},
},

Latest revision as of 06:23, 26 January 2026

Use the text {{DWUser|dreamwidthUser}} on any page to create a quicklink to a dreamwidth username's profile. Eg: {{DWUser|aicqt}} gives aicqt

Adds a link to a dreamwidth profile

Template parameters

ParameterDescriptionTypeStatus
Username1

no description

Stringrequired
Before2

Text to insert before the username that will be displayed in an inline-block with the username.

Stringoptional
After3

Text to insert after the username that will be displayed in an inline-block with the username.

Stringoptional