Difference between revisions of "Template:Gs/logtopbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(more specific cat.)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
===Examples===
 
===Examples===
{{Bulleted list |item_style=padding-bottom:1.0em;
+
* {{tlx|Gs/logtopbox}} produces:  
| {{tlx|Gs/logtopbox}} produces: {{Gs/logtopbox}}
+
{{Gs/logtopbox}}
| {{tlx|Gs/logtopbox |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2</nowiki>}} produces: {{Gs/logtopbox |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}}
+
* <code><nowiki>{{Gs/logtopbox |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}}</nowiki></code> produces:
}}
+
{{Gs/logtopbox |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
+
<includeonly>{{Sandbox other|
 
| <!-- Categories below this line, please; interwikis at Wikidata -->
 
| <!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Wikipedia community-authorised general sanctions templates]]
 
[[Category:Wikipedia community-authorised general sanctions templates]]
[[Category:Wikipedia procedure header templates]]
+
[[Category:Wikipedia procedural header templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:09, 25 April 2020

This template should be placed at the top of general sanctions log pages. The |shortcut=, |shortcut2= and |shortcut3= parameters can be used to add a {{Shortcuts}}-style box containing up to three shortcuts.

Examples

Template:Namespace detect


  • {{Gs/logtopbox |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}} produces:

Template:Namespace detect