Difference between revisions of "User:CreativeHedgehog/Projects/Chinese chess:Template"
m |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
C=cannon; | C=cannon; | ||
P=pawn; | P=pawn; | ||
| + | |||
| + | /* Other Notes */ | ||
| + | |||
| + | <nowiki> | ||
| + | $("table").css("transform","rotateZ(180deg)"); | ||
| + | </nowiki> | ||
| + | <div></div> | ||
| + | <nowiki> | ||
| + | $("tr").css("transform","rotateZ(180deg)"); | ||
| + | </nowiki> | ||
| + | That will turn the table upside-down. | ||
</noinclude> | </noinclude> | ||
| Line 148: | Line 159: | ||
-->w|h|e|g|k|g|e|h|w|<!-- | -->w|h|e|g|k|g|e|h|w|<!-- | ||
-->}}</noinclude> | -->}}</noinclude> | ||
| + | [[Category:Creative Projects]] | ||
Latest revision as of 21:19, 27 June 2020
Notes:
/*red pieces*/
k=king; g=guard; h=horse; e=elephant; w=wagon; c=cannon; p=pawn;
/*black pieces*/
K=king; G=guard; H=horse; E=elephant; W=wagon; C=cannon; P=pawn;
/* Other Notes */
$("table").css("transform","rotateZ(180deg)");
$("tr").css("transform","rotateZ(180deg)"); That will turn the table upside-down.
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|















