Template:Unsigned: Difference between revisions

From electowiki
Content added Content deleted
(Adding the "ref" parameter)
(Putting some examples on the page that don't work yet)
Line 1: Line 1:
<small>unsigned comment -- [[Special:Contributions/{{{1}}}|{{{1}}}]]</small><ref>{{{ref|[[Special:Contributions/{{{1}}}}}}</ref>
<includeonly><small>unsigned comment -- [[Special:Contributions/{{{1}}}|{{{1}}}]]</small><ref>{{{ref|Link: [[Special:Contributions/{{{1}}}]]}}}</ref></includeonly><noinclude>

<noinclude>
<templatedata>
{
"params": {
"1": {
"aliases": [
"user",
"username",
"ipaddr"
],
"label": "User name",
"description": "User name or the IP address of the user who didn't sign their comment"
},
"ref": {}
},
"description": "Template for signing otherwise unsigned comments"
}
</templatedata>

== Examples ==

# <code><nowiki>{{unsigned}}</nowiki></code>
#* Result: {{unsigned}}
# <code><nowiki>{{unsigned|8.8.8.8}}</nowiki></code>
#* Result: {{unsigned|8.8.8.8}}
# <code><nowiki>{{unsigned|user=RobLa}}</nowiki></code>
#* Result: {{unsigned|name=RobLa}}

== Footnotes ==
<references/>
</noinclude>

Revision as of 08:54, 23 February 2021


Template for signing otherwise unsigned comments

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
User name1 user username ipaddr

User name or the IP address of the user who didn't sign their comment

Unknownoptional
refref

no description

Unknownoptional

Examples

  1. {{unsigned}}
    • Result: unsigned comment -- [[Special:Contributions/{{{1}}}|{{{1}}}]][1]
  2. {{unsigned|8.8.8.8}}
  3. {{unsigned|user=RobLa}}
    • Result: unsigned comment -- [[Special:Contributions/{{{1}}}|{{{1}}}]][3]

Footnotes

  1. Link: [[Special:Contributions/{{{1}}}]]
  2. Link: [[Special:Contributions/{{{1}}}]]
  3. Link: [[Special:Contributions/{{{1}}}]]