Difference between revisions of "Template:Verb AK"

(fixing documentation, plus making it a little more legible)
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
{{Verb AK|f1=1|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7|f8=8|f9=9|f10=10|f11=11|f12=12|f13=13|f14=14|f15=15|f16=16|f17=17|f18=18|f19=19|title=Example}}
 
{{Verb AK|f1=1|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7|f8=8|f9=9|f10=10|f11=11|f12=12|f13=13|f14=14|f15=15|f16=16|f17=17|f18=18|f19=19|title=Example}}
  
The template can also take a class argument to add a class to the table.</noinclude>
+
The template can also take a class argument to add a class to the table.
 +
 
 +
===Animation===
 +
 
 +
The template can help automate animations.
 +
 
 +
:f1p=pre
 +
:f1=a
 +
:f1s=x y z a
 +
:f1e=end
 +
 
 +
That will produce pre'''a'''end, with the '''a''' cycling through x, y, z, then back to a.
 +
 
 +
Every parameter from f1 through f19 has the three extra parameters. Setting the s parameter triggers the whole thing. You may also include optional swapper= and time= attributes to name the animation and determine its time (in milliseconds). (Default is ''main'' and ''2000''. Note that you must include a swapStopper via localtag for the default to work.)
 +
 
 +
'''Example:''' (with pertinent sections bolded)<br>
 +
<nowiki>{{Verb</nowiki> AK|'''f1=1'''|'''f1s=2 3 4 1'''|'''f1e=.0'''|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7<br>
 +
|f8=8|f9=9|f10=10|f11=11|f12=12|'''f13=13'''|'''f13s=14 15 16 17 13'''|'''f13p=0'''<br>
 +
|f14=14|f15=15|f16=16|'''f17=17'''|'''f17s=16 15 14 13 12 11 17'''|f18=18|f19=19<br>
 +
|title=Animated|swapper=test|time=2000}}
 +
 
 +
'''Result:'''
 +
{{Verb AK|f1=1|f1s=2 3 4 1|f1e=.0|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7|f8=8|f9=9|f10=10|f11=11|f12=12|f13=13|f13s=14 15 16 17 13|f13p=0|f14=14|f15=15|f16=16|f17=17|f17s=16 15 14 13 12 11 17|f18=18|f19=19|title=Animated|swapper=test|time=2000}}
 +
 
 +
</noinclude>
 
<includeonly>{{Verb
 
<includeonly>{{Verb
 
|scrollwrap={{{scrollwrap|}}}
 
|scrollwrap={{{scrollwrap|}}}
 
|class={{{class|}}}
 
|class={{{class|}}}
|title={{{title|}}}
+
|title={{#if:{{{swapper|}}}|{{#tag:localtag||swapStopperMuteCustom={{{swapper}}}!{{{time}}}!{{{title}}}}}|{{{title}}}}}
 
|lab1=Singular
 
|lab1=Singular
 
|lab2=Dual
 
|lab2=Dual
Line 24: Line 48:
 
|cross6=3rd (inanimate)
 
|cross6=3rd (inanimate)
 
|f11=&nbsp;
 
|f11=&nbsp;
|f12={{{f1|}}}
+
|f12={{#if:{{{f1s|}}}|{{{f1p|}}}<strong data-swap="{{{f1s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f1}}}</strong>{{{f1e|}}}|{{{f1}}}}}
|f13={{{f2|}}}
+
|f13={{#if:{{{f2s|}}}|{{{f2p|}}}<strong data-swap="{{{f2s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f2}}}</strong>{{{f2e|}}}|{{{f2}}}}}
|f14={{{f3|}}}
+
|f14={{#if:{{{f3s|}}}|{{{f3p|}}}<strong data-swap="{{{f3s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f3}}}</strong>{{{f3e|}}}|{{{f3}}}}}
|f21={{{f4|}}}
+
|f21={{#if:{{{f4s|}}}|{{{f4p|}}}<strong data-swap="{{{f4s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f4}}}</strong>{{{f4e|}}}|{{{f4}}}}}
|f22={{{f5|}}}
+
|f22={{#if:{{{f5s|}}}|{{{f5p|}}}<strong data-swap="{{{f5s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f5}}}</strong>{{{f5e|}}}|{{{f5}}}}}
|f23={{{f6|}}}
+
|f23={{#if:{{{f6s|}}}|{{{f6p|}}}<strong data-swap="{{{f6s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f6}}}</strong>{{{f6e|}}}|{{{f6}}}}}
|f24={{{f7|}}}
+
|f24={{#if:{{{f7s|}}}|{{{f7p|}}}<strong data-swap="{{{f7s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f7}}}</strong>{{{f7e|}}}|{{{f7}}}}}
|f31={{{f8|}}}
+
|f31={{#if:{{{f8s|}}}|{{{f8p|}}}<strong data-swap="{{{f8s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f8}}}</strong>{{{f8e|}}}|{{{f8}}}}}
 
|tc32=colspan="2"
 
|tc32=colspan="2"
|f32={{{f9|}}}
+
|f32={{#if:{{{f9s|}}}|{{{f9p|}}}<strong data-swap="{{{f9s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f9}}}</strong>{{{f9e|}}}|{{{f9}}}}}
|f33={{{f10|}}}
+
|f33={{#if:{{{f10s|}}}|{{{f10p|}}}<strong data-swap="{{{f10s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f10}}}</strong>{{{f10e|}}}|{{{f10}}}}}
|f41={{{f11|}}}
+
|f41={{#if:{{{f11s|}}}|{{{f11p|}}}<strong data-swap="{{{f11s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f11}}}</strong>{{{f11e|}}}|{{{f11}}}}}
 
|tc42=colspan="2"
 
|tc42=colspan="2"
|f42={{{f12|}}}
+
|f42={{#if:{{{f12s|}}}|{{{f12p|}}}<strong data-swap="{{{f12s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f12}}}</strong>{{{f12e|}}}|{{{f12}}}}}
|f43={{{f13|}}}
+
|f43={{#if:{{{f13s|}}}|{{{f13p|}}}<strong data-swap="{{{f13s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f13}}}</strong>{{{f13e|}}}|{{{f13}}}}}
|f51={{{f14|}}}
+
|f51={{#if:{{{f14s|}}}|{{{f14p|}}}<strong data-swap="{{{f14s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f14}}}</strong>{{{f14e|}}}|{{{f14}}}}}
 
|tc52=colspan="2"
 
|tc52=colspan="2"
|f52={{{f15|}}}
+
|f52={{#if:{{{f15s|}}}|{{{f15p|}}}<strong data-swap="{{{f15s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f15}}}</strong>{{{f15e|}}}|{{{f15}}}}}
|f53={{{f16|}}}
+
|f53={{#if:{{{f16s|}}}|{{{f16p|}}}<strong data-swap="{{{f16s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f16}}}</strong>{{{f16e|}}}|{{{f16}}}}}
|f61={{{f17|}}}
+
|f61={{#if:{{{f17s|}}}|{{{f17p|}}}<strong data-swap="{{{f17s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f17}}}</strong>{{{f17e|}}}|{{{f17}}}}}
 
|tc62=colspan="2"
 
|tc62=colspan="2"
|f62={{{f18|}}}
+
|f62={{#if:{{{f18s|}}}|{{{f18p|}}}<strong data-swap="{{{f18s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f18}}}</strong>{{{f18e|}}}|{{{f18}}}}}
|f63={{{f19|}}}
+
|f63={{#if:{{{f19s|}}}|{{{f19p|}}}<strong data-swap="{{{f19s}}}" data-swap-nexus="{{{swapper|main}}}">{{{f19}}}</strong>{{{f19e|}}}|{{{f19}}}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:21, 21 June 2017

This is the template for Ancient Kartaran verb forms.

Example: {{Verb AK|f1=1|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7|f8=8|f9=9|f10=10
|f11=11|f12=12|f13=13|f14=14|f15=15|f16=16|f17=17|f18=18|f19=19
|title=Example}}

Result:

Example Singular DualPaucalPlural
1st (inclusive)  123
1st (exclusive) 4567
2nd 8910
2nd (formal) 111213
3rd (animate) 141516
3rd (inanimate) 171819

The template can also take a class argument to add a class to the table.

Animation

The template can help automate animations.

f1p=pre
f1=a
f1s=x y z a
f1e=end

That will produce preaend, with the a cycling through x, y, z, then back to a.

Every parameter from f1 through f19 has the three extra parameters. Setting the s parameter triggers the whole thing. You may also include optional swapper= and time= attributes to name the animation and determine its time (in milliseconds). (Default is main and 2000. Note that you must include a swapStopper via localtag for the default to work.)

Example: (with pertinent sections bolded)
{{Verb AK|f1=1|f1s=2 3 4 1|f1e=.0|f2=2|f3=3|f4=4|f5=5|f6=6|f7=7
|f8=8|f9=9|f10=10|f11=11|f12=12|f13=13|f13s=14 15 16 17 13|f13p=0
|f14=14|f15=15|f16=16|f17=17|f17s=16 15 14 13 12 11 17|f18=18|f19=19
|title=Animated|swapper=test|time=2000}}

Result:

Singular DualPaucalPlural
1st (inclusive)  1.023
1st (exclusive) 4567
2nd 8910
2nd (formal) 1112013
3rd (animate) 141516
3rd (inanimate) 171819