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)

No. The template was creatd by me just a few hours ago. I removed the bullet and added parentheses. --Zappaz 00:36, 20 Mar 2005 (UTC)/ You are right. My mistake. RV. --Zappaz 00:50, 20 Mar 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)
Well, it doesn't seem to be that widely used. If no one can come up with a reason for it this week, I'll just go ahead and change all those templates to HTML. Michael Z. 2005-04-15 20:30 Z

[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)

[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}O2H2O (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:

[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)