Difference between revisions of "Template:Block text/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(more cleanup)
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 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Uses TemplateStyles|Template:Block text/styles.css}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Humor}}
 
{{Humor}}
Line 5: Line 6:
 
Users can use this template to humorously block out "inappropriate" or "secret" text. Only use in '''talk pages, user pages, and pages the titles of which start with "Wikipedia"'''.
 
Users can use this template to humorously block out "inappropriate" or "secret" text. Only use in '''talk pages, user pages, and pages the titles of which start with "Wikipedia"'''.
  
'''Syntax''': {{tlx| Block text| <nowiki>Hidden text |Cursor passing text | </nowiki>[[Web colors]] }}
+
'''Syntax''': {{tlx|Block text |<nowiki>Hidden text |Cursor passing text |</nowiki>[[Web colors]] }}
  
 
==Examples==
 
==Examples==
Line 20: Line 21:
 
Result: {{block text|You know too much.|I don't know!|blue}}
 
Result: {{block text|You know too much.|I don't know!|blue}}
  
<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 humor templates]]
 
[[Category:Wikipedia humor templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:05, 24 April 2020

Script error: No such module "Uses TemplateStyles".

Usage

Users can use this template to humorously block out "inappropriate" or "secret" text. Only use in talk pages, user pages, and pages the titles of which start with "Wikipedia".

Syntax: {{Block text |Hidden text |Cursor passing text |Web colors}}

Examples

{{block text|You know too much.}}

Result: You know too much.

{{block text|You know too much.|I don't know!}}

Result: You know too much.

{{block text|You know too much.|I don't know!|blue}}

Result: You know too much.