Template:10tothe: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(aha... maybe i accdientally made a page called template... instead of making the template itself)
 
m (added subcategory)
 
(4 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:


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


=== Copy===
=== Copy===
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|}}