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

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(more specific cat.)
imported>Anomalocaris
m (fixed lint error: Multiline table in list. Pity that one demo template is bluelinked and the other isn't. But it's an improvement.)
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>{{#ifeq:{{SUBPAGENAME}}|sandbox |

Revision as of 10:33, 18 December 2017

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