Template: Position: Difference between revisions

From Kungfu-Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 9: Line 9:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#widget:ImageModal}}
</noinclude><includeonly>{{#widget:ImageModal}}
=={{{id|}}}: {{PositionNameById|{{{id|}}}}}==
<div class="image-container topimage">http://kungfu-wiki.com/fileserver/images/Positions/{{{id|}}}.jpg</div>
<div class="image-container topimage">http://kungfu-wiki.com/fileserver/images/Positions/{{{id|}}}.jpg</div>
Blue figure is in position {{{id|}}} ({{PositionNameById|{{{id|}}}}})
==Techniques==
<ul class="nav nav-tabs mb-2" id="myTabs" role="tablist">
<li><btn id="btn3Label" data-toggle="tab" class="nav-link" role="tab" aria-controls="tab3" aria-selected="false">#tab3|Setup techniques</btn></li>
  <li class="nav-item"><btn id="tab1Label" data-toggle="tab" class="nav-link active" role="tab" aria-controls="tab1" aria-selected="true">#tab1|Appliable techniques</btn></li>
  <li><btn id="btn2Label" data-toggle="tab" class="nav-link" role="tab" aria-controls="tab2" aria-selected="false">#tab2|Follow-up techniques</btn></li>
</ul>


== Techniques appliable from this position ==
<div class="tab-content">
  <div id="tab3" class="tab-pane fade" role="tabpanel" aria-labelledby="tab3Label">
=== Techniques that lead to this position after opponent reaction===
{{#ask:
{{#ask:
[[P1:technique]]
[[P1::technique]]  
{{#if: {{{StanceRelation|}}} | [[{{#var:posTime}}StanceRelation::{{{StanceRelation|}}}]] | }}
[[has subobject::+]]
{{#if: {{{StancePosition|}}} | [[{{#var:posTime}}StancePosition::{{{StancePosition|}}}]] | }}
[[P22.P28.P47::{{{id|}}}]]
{{#if: {{{ArmsRelation|}}} | [[{{#var:posTime}}ArmsRelation::{{{ArmsRelation|}}}]] | }}
|?P2=id
{{#if: {{{ArmsPosition|}}} | [[{{#var:posTime}}ArmsPosition::{{{ArmsPosition|}}}]] | }}
|?P5.P56=name_cn
{{#if: {{{IsSeal|}}} | [[{{#var:posTime}}IsSeal::{{{IsSeal|}}}]] | }}
|?P5.P57=name_pinyin
|?routine
|?P5.P63=name_en
|?posture
|?P9=Tri-essence
|?P11=Grade
|?P12=Hand Method
|?P10=Foot Method
|?P14=ChinNa Method
|?P15=Throw Method
|?P16=Goal
|?P6=Good to know
|?P18=Routines
|?P22.P4=application_thesis
|?P22.P25=application_text
|mainlabel=-
|format=template
|format=template
|introtemplate=TechniqueSearchResultPre
|template=TechniqueSummary
|template=TechniqueSearchResultRow
|sort=P2
|outrotemplate=PostureResultPost
|named args=true
|link=none
|limit=1000
|order=ascending
}}
}}
  </div>
  <div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label">
=== Techniques applied in this position ===
{{#ask:
[[P1::technique]]
[[has subobject::+]]
[[P22.P28.P44::{{{id|}}}]]
|?P2=id
|?P5.P56=name_cn
|?P5.P57=name_pinyin
|?P5.P63=name_en
|?P9=Tri-essence
|?P11=Grade
|?P12=Hand Method
|?P10=Foot Method
|?P14=ChinNa Method
|?P15=Throw Method
|?P16=Goal
|?P6=Good to know
|?P18=Routines
|?P22.P4=application_thesis
|?P22.P25=application_text
|mainlabel=-
|format=template
|template=TechniqueSummary
|sort=P2
|named args=true
|limit=1000
}}
  </div>
  <div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label">
=== Follow-up techniques from this position ===
{{#ask:
[[P1::technique]]
[[has subobject::+]]
[[P22.P28.P39::{{{id|}}}]]
|?P2=id
|?P5.P56=name_cn
|?P5.P57=name_pinyin
|?P5.P63=name_en
|?P9=Tri-essence
|?P11=Grade
|?P12=Hand Method
|?P10=Foot Method
|?P14=ChinNa Method
|?P15=Throw Method
|?P16=Goal
|?P6=Good to know
|?P18=Routines
|?P22.P4=application_thesis
|?P22.P25=application_text
|mainlabel=-
|format=template
|template=TechniqueSummary
|sort=P2
|named args=true
|limit=1000
}}
  </div>
</div>





Latest revision as of 17:14, 23 December 2024

This is the "Position" template. It should be called in the following format:

{{Position
}}

Edit the page to see the template text.