Template talk:Sup
From Wikipedia, the free encyclopedia
This template is used in a number of articles - [[1]. The addition of a bullet makes those pages look weird. -Willmcw 00:34, Mar 20, 2005 (UTC)
Contents |
[edit] Purpose
What is the intended purpose of this template and Template:Sub? It's not really easier to type {{sup |x}}
than <sup>x</sup>
. The sup tag is not about to be obsoleted in XHTML. Display attributes, like font size, can be controlled in the style sheet (e.g., sup { font-size:smaller; }
. Are you anticipating changing the code for superscripts and subscripts? —Michael Z. 2005-04-15 20:12 Z
- Perhaps so, but I see that it is used by a number of articles, especially about chemistry. You might drop a line to user:Eequor, who first created it. Cheers, -Willmcw 20:24, Apr 15, 2005 (UTC)
[edit] Moved from Template talk:Sub
This template was on TFD, but there was no consensus to delete it. So it is kept. See Wikipedia:Templates for deletion/Log/Not deleted/June 2005. It was suggested by some voters that this template be subst'ed as much as possible, to avoid server drain. Radiant_>|< 11:49, Jun 9, 2005 (UTC)
- subst'ed?
- — <TALKJNDRLINETALK> 19:31, 1 September 2005 (UTC)
- As in transcluding the template using the "subst" keyword, e.g. {{subst:sup|text}}. --David Iberri (talk) 21:23, 23 November 2005 (UTC)
- See Wikipedia:Template substitution. --Kenyon 00:22, 27 November 2005 (UTC)
- As in transcluding the template using the "subst" keyword, e.g. {{subst:sup|text}}. --David Iberri (talk) 21:23, 23 November 2005 (UTC)
[edit] Proposal for built-in markup
Interesting. This template is easier to type. Is this recommended against, though, because of meta-templates? I once suggested adding TeX markup (with mandatory brackets) to the wiki syntax. In other words, typing x^{3}
in the wiki markup will give you x3.
Examples:
x^{3}
→ x3 (powers)CO_{2}
→ CO2 (carbon dioxide symbol)1^{st}
→ 1st (ordinals)^{2}H_{2}O
→ 2H2O (isotopes)
A lot simpler than HTML, looks better in the source, and doesn't rely on templates. I filed it as Bug 3080.
Other comments:
- Wikipedia talk:WikiProject Chemistry#Sub and super markup feature request
- Wikipedia talk:WikiProject Mathematics/Archive11#Sub and super markup feature request
[edit] Other templates
I will create related templates for other fuctions like this one, like a {{nowiki}} template, font templates, etc. I will create a category for them. Polonium 01:18, 14 May 2006 (UTC)