Template:Unsigned: Difference between revisions

Jump to navigation Jump to search
(fix the ip parameter)
No edit summary
 
Line 1: Line 1:
<span class="autosigned"><small>— Preceding [https://www.mediawiki.org/wiki/Help:Signatures unsigned comment] added by {{#if:{{{ip|}}}|<tt>{{{1}}}</tt>|[[User:{{{1}}}|{{{1}}}]]}} ({{#if:{{{ip|}}}||[[User talk:{{{1}}}|talk]] •&nbsp;}}[[Special:Contributions/{{{1}}}|contribs]]) {{{2|}}}</small></span><noinclude>
<includeonly><span class="autosigned">— [https://www.mediawiki.org/wiki/Help:Signatures unsigned comment] by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]]) {{{2|}}}</span></includeonly><noinclude>


Helps attribute unsigned comments. Can use [[Template:Unsigned2]] if you want to copy paste from History and not have to reverse the order of the arguments. If the parameter `ip` is true, will not link the user or talk page.
Helps attribute unsigned comments. Can use [[Template:Unsigned2]] if you want to copy paste from History and not have to reverse the order of the arguments.


== Examples ==
== Examples ==
;<code><nowiki>{{Unsigned|Sky|19:57, 5 October 2023}}</nowiki></code>
;<code><nowiki>{{Unsigned|Sky|19:57, 5 October 2023}}</nowiki></code>
:{{Unsigned|Sky|19:57, 5 October 2023}}
:{{Unsigned|Sky|19:57, 5 October 2023}}
;<code><nowiki>{{Unsigned|192.0.0.1|ip=t}}</nowiki></code>
:{{Unsigned|192.0.0.1|ip=t}}


== Template data ==
== Template data ==


[[Category:Templates]]
[[Category:Templates]]
Line 26: Line 23:
"type": "date",
"type": "date",
"suggested": true
"suggested": true
},
"ip": {
"description": "If specified, will format the results differently to account for the fact that the user is anonymous.",
"type": "boolean"
}
}
},
},
Line 35: Line 28:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2",
"2"
"ip"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>