Difference between revisions of "Template:Logid/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DannyS712
(examine)
imported>DannyS712
(details, examine)
 
Line 1: Line 1:
 
{{#switch: {{{log|}}}
 
{{#switch: {{{log|}}}
 
| abuse
 
| abuse
| Abuse = {{Plain link|url={{fullurl:Special:AbuseLog/{{{id|{{{Id|{{{1|}}}}}}}}}}}|name={{{text|{{{Text|{{{2|{{{id|{{{Id|{{{1|logs}}}}}}}}}}}}}}}}}}}}{{*}} {{Plain link|url={{fullurl:Special:AbuseFilter/examine/log/{{{id|{{{Id|{{{1|}}}}}}}}}}}|name={{{text|{{{Text|{{{2|{{{id|{{{Id|{{{1|logs}}}}}}}}}}}}}}}}}}}}
+
| Abuse = {{Plain link|url={{fullurl:Special:AbuseLog/{{{id|{{{Id|{{{1|}}}}}}}}}}}|name=details}}{{*}} {{Plain link|url={{fullurl:Special:AbuseFilter/examine/log/{{{id|{{{Id|{{{1|}}}}}}}}}}}|name=examine}}
 
| #default = {{Plain link|url={{fullurl:Special:Log|logid={{{id|{{{Id|{{{1|}}}}}}}}}}}|name={{{text|{{{Text|{{{2|{{{id|{{{Id|{{{1|logs}}}}}}}}}}}}}}}}}}}}}}<noinclude>
 
| #default = {{Plain link|url={{fullurl:Special:Log|logid={{{id|{{{Id|{{{1|}}}}}}}}}}}|name={{{text|{{{Text|{{{2|{{{id|{{{Id|{{{1|logs}}}}}}}}}}}}}}}}}}}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:09, 1 March 2019

Template:Plain link

Template documentation[view] [edit] [history] [purge]

This template creates a link to a specific entry in Special:Log, based on the provided "logid." To invoke, use {{Logid|id|text}}, where id is the specific number of the log event and text is the optional text to be displayed (default is the id).

For example, {{Logid|96518986}} produces Template:Plain link, the log of this page being created, while {{Logid|96518956}} produces Template:Plain link, the log of the template itself being created.

To show something other than the id number, add a second parameter. {{Logid|96518986|documentation created}} produces Template:Plain link, while {{Logid|96518956|template created}} produces Template:Plain link.