Difference between revisions of "User:CreativeHedgehog/Projects/Chinese chess:Template"

m
 
(5 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
c=cannon;
 
c=cannon;
 
p=pawn;
 
p=pawn;
 +
 +
/*black pieces*/
 +
 +
K=king;
 +
G=guard;
 +
H=horse;
 +
E=elephant;
 +
W=wagon;
 +
C=cannon;
 +
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 18: 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|}}}c.png|{{{size|}}}px]]
+
| [[Image:ChineseChess_{{{4|}}}f.png|{{{size|}}}px]]
| [[Image:ChineseChess_{{{5|}}}c.png|{{{size|}}}px]]
+
| [[Image:ChineseChess_{{{5|}}}f.png|{{{size|}}}px]]
| [[Image:ChineseChess_{{{6|}}}c.png|{{{size|}}}px]]
+
| [[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 29: 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|}}}c.png|{{{size|}}}px]]
+
| [[Image:ChineseChess_{{{13|}}}f.png|{{{size|}}}px]]
| [[Image:ChineseChess_{{{14|}}}c.png|{{{size|}}}px]]
+
| [[Image:ChineseChess_{{{14|}}}f.png|{{{size|}}}px]]
| [[Image:ChineseChess_{{{15|}}}c.png|{{{size|}}}px]]
+
| [[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]]
 
| [[Image:ChineseChess_{{{18|}}}c.png|{{{size|}}}px]]
 
| [[Image:ChineseChess_{{{18|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{19|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{20|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{21|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{22|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{23|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{24|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{25|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{26|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{27|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{28|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{29|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{30|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{31|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{32|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{33|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{34|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{35|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{36|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{37|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{38|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{39|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{40|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{41|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{42|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{43|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{44|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{45|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{46|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{47|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{48|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{49|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{50|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{51|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{52|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{53|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{54|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{55|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{56|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{57|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{58|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{59|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{60|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{61|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{62|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{63|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{64|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{65|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{66|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{67|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{68|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{69|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{70|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{71|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{72|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{73|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{74|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{75|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{76|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{77|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{78|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{79|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{80|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{81|}}}c.png|{{{size|}}}px]]
 +
|-
 +
| style = "text-align:center;" |
 +
| [[Image:ChineseChess_{{{82|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{83|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{84|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{85|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{86|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{87|}}}f.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{88|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{89|}}}c.png|{{{size|}}}px]]
 +
| [[Image:ChineseChess_{{{90|}}}c.png|{{{size|}}}px]]
 
|-
 
|-
 
|}
 
|}
  
 
<noinclude>Example: {{User:CreativeHedgehog/Projects/Chinese_chess:Template|<!--
 
<noinclude>Example: {{User:CreativeHedgehog/Projects/Chinese_chess:Template|<!--
-->k|g|h|e|w|c|p| | <!--
+
-->W|H|E|G|K|G|E|H|W|<!--
-->p|p|p|p|p|p|p| | }}</noinclude>
+
--> | | | | | | | | |<!--
 +
--> |C| | | | | |C| |<!--
 +
-->P| |P| |P| |P| |P|<!--
 +
--> | | | | | | | | |<!--
 +
--> | | | | | | | | |<!--
 +
-->p| |p| |p| |p| |p|<!--
 +
--> |c| | | | | |c| |<!--
 +
--> | | | | | | | | |<!--
 +
-->w|h|e|g|k|g|e|h|w|<!--
 +
-->}}</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.


px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px

Example:

px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px