Difference between revisions of "Template:MO/doc"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
imported>Chiro08
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
'''<nowiki>{{MO|fontsize=}}</nowiki>'''
+
'''<nowiki>{{MO|fontsize=}}</nowiki>''' or '''<nowiki>{{MO|number=|size=}}</nowiki>'''
 +
 
 +
==Parameters==
 +
===number===
 +
If you don’t use it, the template shows "MO" only.
 +
<pre>{{MO|fontsize=20}}</pre>
 +
{{MO|fontsize=20}}
 +
 
 +
 
 +
If you use it, the template shows "MO" and the defined station number.
 +
<pre>{{MO|number=01|size=50}}</pre>
 +
{{MO|number=01|size=50}}
 +
 
 +
===fontsize(px)===
 +
* Default: 10(px)
 +
Use it when ''number'' parameter is not used.
 +
 
 +
===size(px)===
 +
* Default: 30(px)
 +
Use it when ''number'' parameter is used.
 +
If you use it even though ''number'' parameter is not used, the value is assigned to ''fontsize'' parameter.
 +
<pre>{{MO|size=20}} {{MO|fontsize=20}}</pre>
 +
{{MO|size=20}} {{MO|fontsize=20}}
  
 
==Examples==
 
==Examples==
<pre>{{MO}} Tokyo Monorail</pre>
+
<pre>{{MO}} Tokyo Monorail Line</pre>
{{MO}} Tokyo Monorail
+
{{MO}} Tokyo Monorail Line
  
  
 
<pre>{{MO|fontsize=20}}</pre>
 
<pre>{{MO|fontsize=20}}</pre>
 
{{MO|fontsize=20}}
 
{{MO|fontsize=20}}
 +
 +
 +
<pre>{{MO|number=02|size=60}}</pre>
 +
{{MO|number=02|size=60}}
 +
 +
 +
<pre>{{MO|number=08}} [[Haneda Airport International Terminal Station]]</pre>
 +
{{MO|number=08}} [[Haneda Airport International Terminal Station]]
  
 
==See also==
 
==See also==
 
* [[Template:JRE Line Symbol]]
 
* [[Template:JRE Line Symbol]]
 +
* [[Template:JRE Station Numbering]]

Latest revision as of 02:37, 16 April 2017

{{MO|fontsize=}} or {{MO|number=|size=}}

Parameters

number

If you don’t use it, the template shows "MO" only.

{{MO|fontsize=20}}

MO


If you use it, the template shows "MO" and the defined station number.

{{MO|number=01|size=50}}

MO01

fontsize(px)

  • Default: 10(px)

Use it when number parameter is not used.

size(px)

  • Default: 30(px)

Use it when number parameter is used. If you use it even though number parameter is not used, the value is assigned to fontsize parameter.

{{MO|size=20}} {{MO|fontsize=20}}

MO MO

Examples

{{MO}} Tokyo Monorail Line

MO Tokyo Monorail Line


{{MO|fontsize=20}}

MO


{{MO|number=02|size=60}}

MO02


{{MO|number=08}} [[Haneda Airport International Terminal Station]]

MO08 Haneda Airport International Terminal Station

See also