Template talk:Interp
(Redirected from Template talk:Interp/sandbox)
Latest comment: 9 years ago by Pigsonthewing in topic Redundant
This template was considered for deletion on 9 May 2012. The result of the discussion was "no consensus". |
Potential change
editPotential change, offering the ability to substitute inline and offer the original wording as a tooltip, while preserving current usage. Comments/Criticism?
{{#if:{{{2|}}}|<span title="originally: {{{2}}}"><nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki></span>|<nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>}}
- {{interp|Bob}} yields [Bob].
- {{interp|Bob|him}} yields [Bob]. (Hover to see tooltip.)
Druid816 (talk) 05:21, 16 May 2012 (UTC)
- This seems emminently sensible. Adding the option of named parameters gives the option of a clearer markup when this template is used. So:
{{#if:{{{Originally|{{{originally|{{{2|}}}}}}}}}|<span title="Originally: {{{Originally|{{{originally|{{{2|}}}}}}}}}"><nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki></span>|<nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>}}
-
{{interp|Bob}}
yields [Bob].{{interp|Bob|originally=him}}
yields [Bob]. (Hover to see tooltip.)
- (Also, I thought it made more sense to capitalize the O of originally in the tool tip.) --205.254.147.8 (talk) 20:32, 6 November 2013 (UTC)
- Tried the suggested code out on the sandbox page, so this shows with using the actual code rather than showing what was expected:
{{interp/sandbox|Bob}}
yields [Bob].{{interp/sandbox|Bob|originally=him}}
yields [Bob]. (Hover to see tooltip.)
- --Salton Finneger (talk) 14:14, 7 November 2013 (UTC)
- Tried the suggested code out on the sandbox page, so this shows with using the actual code rather than showing what was expected:
- Have there been any issues with this? I think it's a good idea—what's keeping it from being implemented? Curly Turkey (gobble) 23:18, 16 April 2014 (UTC)
Redundant
editIf all this template does is add a pair of square brackets, why do we need it? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:33, 6 February 2015 (UTC)