Difference between revisions of "User:CreativeHedgehog/Projects/Chinese chess:Template"
m |
|||
(4 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 28: | Line 39: | ||
| [[Image:ChineseChess_{{{2|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{2|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{3|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{3|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{4|}}} | + | | [[Image:ChineseChess_{{{4|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{5|}}} | + | | [[Image:ChineseChess_{{{5|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{6|}}} | + | | [[Image:ChineseChess_{{{6|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{7|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{7|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{8|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{8|}}}c.png|{{{size|}}}px]] | ||
Line 39: | Line 50: | ||
| [[Image:ChineseChess_{{{11|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{11|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{12|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{12|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{13|}}} | + | | [[Image:ChineseChess_{{{13|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{14|}}} | + | | [[Image:ChineseChess_{{{14|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{15|}}} | + | | [[Image:ChineseChess_{{{15|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{16|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{16|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{17|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{17|}}}c.png|{{{size|}}}px]] | ||
Line 50: | Line 61: | ||
| [[Image:ChineseChess_{{{20|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{20|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{21|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{21|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{22|}}} | + | | [[Image:ChineseChess_{{{22|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{23|}}} | + | | [[Image:ChineseChess_{{{23|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{24|}}} | + | | [[Image:ChineseChess_{{{24|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{25|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{25|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{26|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{26|}}}c.png|{{{size|}}}px]] | ||
Line 105: | Line 116: | ||
| [[Image:ChineseChess_{{{65|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{65|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{66|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{66|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{67|}}} | + | | [[Image:ChineseChess_{{{67|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{68|}}} | + | | [[Image:ChineseChess_{{{68|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{69|}}} | + | | [[Image:ChineseChess_{{{69|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{70|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{70|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{71|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{71|}}}c.png|{{{size|}}}px]] | ||
Line 116: | Line 127: | ||
| [[Image:ChineseChess_{{{74|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{74|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{75|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{75|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{76|}}} | + | | [[Image:ChineseChess_{{{76|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{77|}}} | + | | [[Image:ChineseChess_{{{77|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{78|}}} | + | | [[Image:ChineseChess_{{{78|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{79|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{79|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{80|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{80|}}}c.png|{{{size|}}}px]] | ||
Line 127: | Line 138: | ||
| [[Image:ChineseChess_{{{83|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{83|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{84|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{84|}}}c.png|{{{size|}}}px]] | ||
− | | [[Image:ChineseChess_{{{85|}}} | + | | [[Image:ChineseChess_{{{85|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{86|}}} | + | | [[Image:ChineseChess_{{{86|}}}f.png|{{{size|}}}px]] |
− | | [[Image:ChineseChess_{{{87|}}} | + | | [[Image:ChineseChess_{{{87|}}}f.png|{{{size|}}}px]] |
| [[Image:ChineseChess_{{{88|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{88|}}}c.png|{{{size|}}}px]] | ||
| [[Image:ChineseChess_{{{89|}}}c.png|{{{size|}}}px]] | | [[Image:ChineseChess_{{{89|}}}c.png|{{{size|}}}px]] | ||
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: