Lou Montana/Sandbox/Template:Function – User
< User:Lou Montana | Sandbox
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix warning message) |
Lou Montana (talk | contribs) (name seealso parameter) |
||
Line 145: | Line 145: | ||
<dd>{{#ifeq:{{{exec|call}}}|call|[[call]]|'''[[{{{exec}}}]]'''}}</dd> | <dd>{{#ifeq:{{{exec|call}}}|call|[[call]]|'''[[{{{exec}}}]]'''}}</dd> | ||
<dt>See also:</dt> | <dt>See also:</dt> | ||
<dd class="seealso">{{busa}}{{#if:{{{6|}}}|{{#replace:{{#replace:{{{6}}}|], [|][}}|],[|][}}|{{See also needed}}}}</dd><!-- | <dd class="seealso">{{busa}}{{#if:{{{seealso|{{{6|}}}}}}|{{#replace:{{#replace:{{{seealso|{{{6}}}}}}|], [|][}}|],[|][}}|{{See also needed}}}}</dd><!-- | ||
--></dl> | --></dl> |
Revision as of 21:12, 23 December 2019
{{Command/documentation}}
1.00
Problems:
This is a problem
Click on the images for descriptions
Description
- Description:
- Convert integer to roman numeral (e.g. 42 becomes "XLII").
Syntax
- Syntax:
- integer call BIS_fnc_romanNumeral Template:Command-param
- Return Value:
- String - Roman number
Examples
Additional Information
- Execution:
- exec
- See also:
- Template:busaBIS_fnc_ordinalNumberBIS_fnc_phoneticalWord
Notes
Notes
Bottom Section
- Posted on October 1, 2019 - 01:46 (UTC)
- Lou Montana
-
A Roman numeral is read like this:
Numeral I V X L C D M Value 1 5 10 50 100 500 1000 - It is read from left to right from the biggest numeral to the lowest*, adding up:
*: not entirely true, see subtractions below- DCLVII = D → C → L → V → I → I = 500 + 100 + 50 + 5 + 1 + 1 = 657
- A subtraction is done by writing one smaller numeral before a big one:
- 9 could be written VIIII, or IX = 1 and 10 = 10 - 1 = 9 / but IIX for 8 doesn't exist, only VIII
- The same numeral can be put together multiple times, but usually (there is no standard, but the shorter version is usually preferred) up to the point where it can be subtracted from the bigger numeral above the used one (subtraction still done with only one numeral):
- IIII = IV, CCCC = CD
Now let's see if you can translate this one: MCMLXXXV. Tip: where it all started ;-) MCMLXXXII for the purists!
To learn more: Roman numerals on wikipedia - It is read from left to right from the biggest numeral to the lowest*, adding up: