Difference between revisions of "Template:Logid/doc"
Jump to navigation
Jump to search
imported>DannyS712 (examples) |
imported>Andrybak (use Template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | This template creates a link to a specific entry in [[Special:Log]], based on the provided "logid." To invoke, use {{tlg|Logid|id}}, where id is the specific number of the log event. | + | This template creates a link to a specific entry in [[Special:Log]], based on the provided "logid." To invoke, use {{tlg|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, {{tlg|Logid|96518986}} produces {{Logid|96518986}}, the log of this page being created, while {{tlg|Logid|96518956}} produces {{Logid|96518956}}, the log of the template itself being created. | For example, {{tlg|Logid|96518986}} produces {{Logid|96518986}}, the log of this page being created, while {{tlg|Logid|96518956}} produces {{Logid|96518956}}, the log of the template itself being created. | ||
| − | <includeonly>[[Category:Internal link templates]]</includeonly> | + | To show something other than the id number, add a second parameter. {{tlg|Logid|96518986|documentation created}} produces {{Logid|96518986|documentation created}}, while {{tlg|Logid|96518956|template created}} produces {{Logid|96518956|template created}}. |
| + | |||
| + | <includeonly>{{Sandbox other||[[Category:Internal link templates]]}}</includeonly> | ||
Latest revision as of 22:14, 25 March 2020
| This is a documentation subpage for Template:Logid. It contains usage information, categories and other content that is not part of the original template page. |
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.