v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:RTL"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Undo revision 117617 by Kami (Talk))
Line 1: Line 1:
<noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude>style="padding: 0;"|<div style="color: {{{1|#000}}}; background: {{{3|{{#if:{{{2|}}}|transparent|{{{1}}}}}}}}; position:relative; font-size: 135%; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; font-weight:bold">{{#if:{{{2|}}}|{{{2}}}|█}}<noinclude><!--{{{2|█}}}Does not work here if you want to make something like this: {{RTL|#FFF||||||7|#88F|left}}--></noinclude>{{#if:{{{4|}}}|<div style="position: absolute; left: 0em; top: -1ex; color:{{{5|#000}}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{{6|right}}}; width: 100%;">{{{4}}}</div>|}}{{#if:{{{7|}}}|<div style="position: absolute; left: 0em; top: 1ex; color:{{{8|#000}}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{{9|right}}}; width: 100%;">{{{7}}}</div>|}}</div><noinclude></div>
+
<noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude>style="padding: 0;"|<div style="color: {{{1|#000}}}; background: {{{3|{{#if:{{{2|}}}|transparent|{{{1}}}}}}}}; position:relative; font-size: 135%; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; font-weight:bold">{{{2|█}}}{{#if:{{{4|}}}|<div style="position: absolute; left: 0em; top: -1ex; color:{{{5|#000}}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{{6|right}}}; width: 100%;">{{{4}}}</div>|}}{{#if:{{{7|}}}|<div style="position: absolute; left: 0em; top: 1ex; color:{{{8|#000}}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{{9|right}}}; width: 100%;">{{{7}}}</div>|}}</div><noinclude></div>
  
 
Flexible template for building complex diagramms with wiki tables.
 
Flexible template for building complex diagramms with wiki tables.

Revision as of 14:48, 9 June 2010

style="padding: 0;"|

Flexible template for building complex diagramms with wiki tables.

Usage


{| style="border-spacing: 0;"
|-
|{{RTL|<character-color>|<character>|<background-color>|<superior>|<superior-color>|<superior-align>|<inferior>|<inferior-color>|<inferior-align>}}
|}

Default:
* character-color:#000
* character:█
* background-color:transparent
* superior:
* superior-color:#000
* superuor-align:right (left|center|right|justify)
* inferior:
* inferior-color:#000
* inferuor-align:right (left|center|right|justify)

Usage

{{RTL}}

{{RTL|#FF0}}

{{RTL|#FF0|▬}}

{{RTL|#FF0|▬|#CCC}}

{{RTL|#FF0|▬|#CCC|1}}

1

{{RTL|#FF0|▬|#CCC|1|#F00}

1

{{RTL|#FF0|▬|#CCC|1|#F00|left}}

1

{{RTL|#FF0|▬|#CCC|1|#F00|left|7}}

1
7

{{RTL|#FF0|▬|#CCC|1|#F00|left|7|#0F0}}

1
7

{{RTL|#FF0|▬|#CCC|1|#F00|left|7|#0F0|left}}

1
7


Examples


÷
÷
>


1
2
3


1
2
3
4
5