Template:10tothe: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (yeah tthis is better)
m (added subcategory)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>10<sup>{{{1}}}</sup></includeonly><noinclude>
<includeonly>10<sup>{{{1}}}</sup></includeonly><noinclude>
=== Description ===
=== Description ===
This template inserts the appropriate superscripted number for the power of ten that is said. It makes it a little bit faster as a quick text than typing <nowiki><sup>number</sup></nowiki>.
This template inserts the appropriate superscripted number for the power of ten that is said. It makes it a little bit faster as a quick text than typing 10<nowiki><sup>number</sup></nowiki>.


=== Usage ===
=== Usage ===
Example:
Example:
  <nowiki>'''B:''' ...then that’s like {{10tothe|40}} years</nowiki>
  <nowiki>'''B:''' ...then that’s like {{10tothe|40}} years!</nowiki>
renders as:
renders as:


Line 14: Line 14:
<pre>{{10tothe|}}</pre>
<pre>{{10tothe|}}</pre>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Quick text templates]]
</noinclude>
</noinclude>

Latest revision as of 20:53, 14 June 2021

Description

This template inserts the appropriate superscripted number for the power of ten that is said. It makes it a little bit faster as a quick text than typing 10<sup>number</sup>.

Usage

Example:

'''B:''' ...then that’s like {{10tothe|40}} years!

renders as:

B: ...then that’s like 1040 years!

Copy

Copy this to use in your page.

{{10tothe|}}