Template:Unsigned: Difference between revisions

From bg3.wiki
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>

Revision as of 19:04, 2 March 2024


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

{{Unsigned|Sky|19:57, 5 October 2023}}
unsigned comment by Sky (talk) 19:57, 5 October 2023

Template data

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
user1

The name of IP of the user to sign on behalf of.

Unknownrequired
date2

The time and/or date this comment was written.

Datesuggested