Template:Thingamajig: Difference between revisions
Appearance
m caps |
implement before and after text |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{TTS|html=del|class=thingamabob censor {{#if:{{{caps|}}}|caps}}|{{{1}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}}}</onlyinclude></includeonly><!-- | <includeonly><onlyinclude>{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{2|}}}{{{3|}}} = {{TTS|html=del|class=thingamabob censor {{#if:{{{caps|}}}|caps}}|{{{1}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}}} | #default = {{TTS|html=del|class=thingamabob censor {{#if:{{{caps|}}}|caps}}|t1={{{1}}}|{{{2}}}|t3={{{3|}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}}}}}</onlyinclude></includeonly><!-- | ||
more readable version: | |||
{{#switch:{{{ParameterThatShouldAlwaysBeEmpty|}}} | |||
| {{{2|}}}{{{3|}}} = {{TTS|html=del|class=thingamabob censor {{#if:{{{caps|}}}|caps}}|{{{1}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}}} | |||
| #default = {{TTS|html=del|class=thingamabob censor {{#if:{{{caps|}}}|caps}}|t1={{{1}}}|{{{2}}}|t3={{{3|}}}|tts={{{tts|}}}|E={{{E|}}}|href={{{href|}}}}} | |||
}} | |||
--> | --> | ||
== Demo == | == Demo == | ||
| Line 7: | Line 13: | ||
they dreaded the return of {{thingamajig|he who must not be named|E=Voldemort}} | they dreaded the return of {{thingamajig|he who must not be named|E=Voldemort}} | ||
{{thingamajig|caps=y|Redacted}} | {{thingamajig|caps=y||Redacted|Tale}}, an {{game|Undertale}} {{TTS|tts=A.U.|AU}} | ||
== Description == | == Description == | ||
Latest revision as of 11:08, 5 December 2025
Demo[edit]
Beware the Jabberwock, my son
they dreaded the return of he who must not be named
Redacted, an Undertale
Description[edit]
This is a variation of Template:Thingamabob, a template for marking words as arbitrarily replaced with something else. It may be useful for humor, for particular kinds of art projects.
Parameters[edit]
tts- Pronunciation for replaced text. Specify this first so that if screen readers are attempting to edit a page the TTS-friendly text is said before the "irrelevant" visual text which will be not be read as deleted.1- Text that was actually or supposedly "replaced".caps- If present, text will be capitalized. Use this so that if screen readers are attempting to edit a page regular words will not be read as acronyms.
Not present[edit]
class- use Template:censor if you have some reason to customize this. You may copy this template and create another template if you find a new classname and styling you like.
Internal templates[edit]
- Template:TTS - used to specify HTML tag plus pronunciation.