Template talk:1x

Comment
What is this template used for? — Preceding unsigned comment added by 18:20, 20 August 2009 (talk) 64.231.202.93
 * I think this template can be very useful if you want to have an option that uses the return value of the template as an input. For example, consider the following template:

If the parameter smallcaps is defined, the result will be in small capitals using. To test this sample, suppose the parameter is yes:

The result will be:

Then suppose it is a null:

The result will be:

- T AKASUGI Shinji (talk) 16:16, 11 December 2009 (UTC)


 * It's also useful for testing. See, for example, transclusion depth test. J IM ptalk·cont 05:17, 27 February 2012 (UTC)


 * My request to add documentation below explains an important use case.  —Zenexer &#91;talk&#93; 00:24, 10 November 2012 (UTC)

Documentation
This template is particularly useful as a meta-metatemplate. A metatemplate can use, for example,  to generate an   tag. Unlike such a tag made with XML/HTML entities ( and  ), this tag will be evaluated when the resulting template is substituted.

It would nice to add some documentation on a /doc subpage about this confusing use case. I'll write the documentation if a sysop adds the documentation template to the page.

—Zenexer &#91;talk&#93; 00:21, 10 November 2012 (UTC)

Edit request on 18 February 2013
Please add the documentation template in this page in order to add interwikis and the documentation itself.

Cainamarques (talk) 17:02, 18 February 2013 (UTC)
 * Yes check.svg Done If you're going to add some actual documentation, that's fine; but please note that once this problem gets fixed, interlanguage links will be handled through WP:Wikidata. -- Red rose64 (talk) 17:17, 18 February 2013 (UTC)

Note about usage
I submitted because the Parsoid Linter was not detecting   as a valid tag. The bug report was declined with this note: Parsoid does not support creating HTML tags by piecing together strings via templates. So  will work but   will not. We don't plan to support this usecase and it should be fixed on that page. There is really no reason not to just use  on that page. [attribution: copied from ] I don't know if this needs to go in the documentation, but I wanted at least to put it here on the talk page. – Jonesey95 (talk) 22:17, 17 October 2021 (UTC)