Help:MahjongTile: Difference between revisions

Jump to navigation Jump to search
finished now, I think
(almost done)
 
(finished now, I think)
Line 9: Line 9:
</pre>
</pre>


The rest of this article describes how to use it.
:''MahjongTile'' is written by [[User:Bps|bps]]. Bug reports and feature requests are always welcome.


== Usage ==
== Usage ==
Line 138: Line 138:
| Here we see how the individually set orientation overrides the grouping orientation. This is just how it works, it's not indended for any magical purpose. It is probably more efficient.
| Here we see how the individually set orientation overrides the grouping orientation. This is just how it works, it's not indended for any magical purpose. It is probably more efficient.
|}
|}
If you can think of a reason why upside down tiles should also be implemented, let me know and I will add that too. I really can't think of a (not incredibly contrived) situation that warrants upside down tile images.


=== Size option ===
=== Size option ===
Line 151: Line 153:
|}
|}


Now, try with ''MahjongTile'':
{| class="wikitable"
|-
! Code || Result
|-
| <pre>{{#mjt: 1m1s' | 200px}}</pre>
| {{#mjt: 1m1s' | 200px}}
|}
It works a bit weird, so you should refer to [http://www.mediawiki.org/wiki/Help:Images#Size_and_frame the MediaWiki help page]. You may find you have to split up your sequence into multiple commands. If they are not separated by any whitespace, they should behave as if they were stuck together with just one command.


== Full list of tile images available ==
== Full list of tile images available ==
{{#mjt: 1234567890m}} {{#mjt: 1234567890m'}} {{#mjt: 1234567890m"}}
{{#mjt: 0123456789m}}
 
{{#mjt: 0123456789p}}
 
{{#mjt: 0123456789s}}
 
{{#mjt: 0123456789z}}
 
{{#mjt: 0123456789m'}}
 
{{#mjt: 0123456789m"}}
 
{{#mjt: 0123456789p'}}
 
{{#mjt: 0123456789p"}}
 
{{#mjt: 0123456789s'}}


{{#mjt: 1234567890p}} {{#mjt: 1234567890p'}} {{#mjt: 1234567890p"}}
{{#mjt: 0123456789s"}}


{{#mjt: 1234567890s}} {{#mjt: 1234567890s'}} {{#mjt: 1234567890s"}}
{{#mjt: 0123456789z'}}


{{#mjt: 12345670z}} {{#mjt: 12345670z'}} {{#mjt: 12345670z"}}
{{#mjt: 0123456789z"}}
67

edits

Navigation menu