Template: Position: Difference between revisions

From Kungfu-Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(21 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}}
<div class="image-container topimage">
<div style="height:500;">
http://kungfu-wiki.com/fileserver/images/Positions/A1.jpg
</div>
</div>
{| class="wikitable"
! colspan="2"|Position definition
|-
! Stance relation
| [[hasStanceRelation::{{{StanceRelation|}}}]]
|-
! Stance position
| [[hasStancePosition::{{{StancePosition|}}}]]
|-
! Arms relation
| [[hasArmsRelation::{{{ArmsRelation|}}}]]
|-
! Arms position
| [[hasArmsPosition::{{{ArmsPosition|}}}]]
|-
! Sealing opponent
| [[IsSeal::{{{IsSeal|}}}]]
|} {{#set:
HasExampleImageSeriesPicturePage={{{ExampleImageSeriesPicturePage|}}} }}
{{#vardefine:ImageFile|{{#show: {{{ExampleImageSeriesPicturePage|}}} | ?HasImageFile | link=none}} }} {{#vardefine:ImageMapContent|{{#show: {{{ExampleImageSeriesPicturePage|}}} |?hasImageMapContent#-}} }}
{| class="wikitable"
! colspan="2" | Position example
|-
| colspan="2" | {{#if: {{#var:ImageFile}} | <div class="imageMapHighlighter">
{{#tag:Imagemap|
{{#var:ImageFile}}{{!}}x250px
{{#var:ImageMapContent}}
}}
</div> | No image available}}
|}


= Position occurences in routines =
=={{{id|}}}: {{PositionNameById|{{{id|}}}}}==
== '''before''' technique ==
<div class="image-container topimage">http://kungfu-wiki.com/fileserver/images/Positions/{{{id|}}}.jpg</div>
{{#vardefine:posTime|SituationBefore}}
Blue figure is in position {{{id|}}} ({{PositionNameById|{{{id|}}}}})
{{#var:posTime}}
 
{{{StanceRelation|}}}
==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>


<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:
[[P1::technique]]
[[has subobject::+]]
[[P22.P28.P47::{{{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="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label">
=== Techniques applied in this position ===
{{#ask:
{{#ask:
[[Category:Posture]]
[[P1::technique]]  
{{#if: {{{StanceRelation|}}} | [[{{#var:posTime}}StanceRelation::{{{StanceRelation|}}}]] | }}
[[has subobject::+]]
{{#if: {{{StancePosition|}}} | [[{{#var:posTime}}StancePosition::{{{StancePosition|}}}]] | }}
[[P22.P28.P44::{{{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="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label">
== Expressions of this technique ==
=== Follow-up techniques from this position ===
{{#ask:
{{#ask:
[[Category:Statement]]
[[P1::technique]]  
[[HasStatementType::IsExpressionOf]]
[[has subobject::+]]
[[~*BaseTechniqueAssignment*]]
[[P22.P28.P39::{{{id|}}}]]
[[HasStatementReference::{{FULLPAGENAME}}]]
|?P2=id
|?HasObjectOfInterest=Posture
|?P5.P56=name_cn
|?HasObjectOfInterest.Routine=Routine
|?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=-
|mainlabel=-
|format=template
|format=template
|introtemplate=PostureResultPre
|template=TechniqueSummary
|template=PostureResultRow
|sort=P2
|outrotemplate=PostureResultPost
|named args=true
|link=none
|limit=1000
}}
}}
  </div>
</div>




{{#set:
PositionName={{{positionName|}}}
|StanceRelation={{{StanceRelation|}}}
|StancePosition={{{StancePosition|}}}
|ArmsRelation={{{ArmsRelation|}}}
|ArmsPosition={{{ArmsPosition|}}}
|IsSeal={{{IsSeal|}}}
}}






[[Category:Position]]
</includeonly>
</includeonly>

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.