Difference between revisions of "Template:Infoboxsign"
Jump to navigation
Jump to search
(#ev to #evt) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="leftfloat" > | <div class="leftfloat" > | ||
− | {{#if: {{{youtube1|}}} | {{# | + | {{#if: {{{youtube1|}}} | {{#evt:service=youtube|id={{{youtube1}}}|dimensions=425|alignment=left|urlargs=rel=0&wmode=transparent}} | Missing video for {{PAGENAME}}}}[[Main video::{{{youtube1}}}| ]] |
{{#if: {{{explanation|}}} | == Explanation == | }} | {{#if: {{{explanation|}}} | == Explanation == | }} | ||
<div style="max-width: 425px;">{{#if:{{{explanation|}}}|{{{explanation}}}| }}</div> | <div style="max-width: 425px;">{{#if:{{{explanation|}}}|{{{explanation}}}| }}</div> | ||
<div>{{#if: {{{youtube2|}}} | <h2>Example of usage</h2>| }}</div> | <div>{{#if: {{{youtube2|}}} | <h2>Example of usage</h2>| }}</div> | ||
<div> | <div> | ||
− | {{#if: {{{youtube2|}}} | {{# | + | {{#if: {{{youtube2|}}} | {{#evt:service=youtube|id={{{youtube2}}}|dimensions=425|alignment=left|urlargs=rel=0&wmode=transparent}} | |
---- | ---- | ||
''You can add examples of usage for this sign.''}}{{#if:{{{youtube2|}}}|[[Example video::{{{youtube2}}}| ]]}} | ''You can add examples of usage for this sign.''}}{{#if:{{{youtube2|}}}|[[Example video::{{{youtube2}}}| ]]}} | ||
Line 16: | Line 16: | ||
</div> | </div> | ||
{{#if: {{{youtube4|}}} | == Alternative Sign for {{PAGENAME}} == | }} | {{#if: {{{youtube4|}}} | == Alternative Sign for {{PAGENAME}} == | }} | ||
− | <div>{{#if: {{{youtube4|}}} |{{# | + | <div>{{#if: {{{youtube4|}}} | {{#evt:service=youtube|id={{{youtube4}}}|dimensions=425|alignment=left|urlargs=rel=0&wmode=transparent}} | }}</div> |
<div style="max-width: 425px;">{{#if: {{{explain|}}}|'''Explanation:''' {{{explain}}}| }}</div> | <div style="max-width: 425px;">{{#if: {{{explain|}}}|'''Explanation:''' {{{explain}}}| }}</div> | ||
<div style="max-width: 425px;">{{#if: {{{alternativesigntag|}}}|'''Merking:''' [[Special:SearchByProperty/Alternativesign/{{{alternativesigntag}}}|{{{alternativesigntag}}}]]| }}</div> | <div style="max-width: 425px;">{{#if: {{{alternativesigntag|}}}|'''Merking:''' [[Special:SearchByProperty/Alternativesign/{{{alternativesigntag}}}|{{{alternativesigntag}}}]]| }}</div> | ||
Line 26: | Line 26: | ||
<div style="text-align:center;font-size:12px;font-weight:bold;font-color:blue;line-height:1.5em;">{{#if:{{{translation|}}} |[[translation::{{{translation}}}]]| }}</div> | <div style="text-align:center;font-size:12px;font-weight:bold;font-color:blue;line-height:1.5em;">{{#if:{{{translation|}}} |[[translation::{{{translation}}}]]| }}</div> | ||
− | + | {{#if: {{{thematiccategory|}}} | | |
− | + | <div style="width:125px;float:left;font-size:10px;text-align:left;aling:left;padding-top:5px;padding-bottom:5px;"> | |
− | + | [[Image:Arrowleft.png|20px|link=]] | |
− | + | {{#ifeq: | |
+ | {{#ask: [[Category:{{{thematiccategory}}}]] [[<{{PAGENAME}}]] | ||
+ | |order=ascending | ||
+ | |searchlabel= | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |offset={{#expr: {{#ask: [[Category:{{{thematiccategory}}}]] [[<{{PAGENAME}}]]|format=count}} -2 }} | ||
+ | }} | | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] | ||
+ | |order=ascending | ||
+ | |searchlabel= | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |offset=0 | ||
+ | }} | | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] | ||
+ | |order=descending | ||
+ | |searchlabel= | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |offset=0 | ||
+ | }} | ||
+ | | | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] [[<{{PAGENAME}}]] | ||
+ | |order=ascending | ||
+ | |searchlabel= | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |offset={{#expr: {{#ask: [[Category:{{{thematiccategory}}}]] [[<{{PAGENAME}}]]|format=count}} -2 }} | ||
+ | }} | ||
+ | }} | ||
+ | </div> | ||
+ | |||
+ | <div style="width:125px;float:right;font-size:10px;text-align:right;aling:right;padding-top:5px;padding-bottom:5px;"> | ||
+ | {{#ifeq: | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] [[>{{PAGENAME}}]] | ||
+ | |offset=1 | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |searchlabel= | ||
+ | }} | | | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] | ||
+ | |order=ascending | ||
+ | |searchlabel= | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |offset=0 | ||
+ | }} | ||
+ | | | ||
+ | {{#ask: [[Category:{{{thematiccategory}}}]] [[>{{PAGENAME}}]] | ||
+ | |offset=1 | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |searchlabel= | ||
+ | }} | ||
+ | }} | ||
+ | [[Image:Arrowright.png|20px|link=]] | ||
+ | </div> | ||
+ | | | ||
+ | }} | ||
<div>{{#if:{{{Image1|}}}|[[Image:{{{Image1}}}|250px|alt={{PAGENAME}}]]|[[Image:Image-missing.png|250px|center|link=Special:FormEdit/Nýtt tákn/{{PAGENAME}}]]}}[[Sign image::{{{Image1}}}| ]] | <div>{{#if:{{{Image1|}}}|[[Image:{{{Image1}}}|250px|alt={{PAGENAME}}]]|[[Image:Image-missing.png|250px|center|link=Special:FormEdit/Nýtt tákn/{{PAGENAME}}]]}}[[Sign image::{{{Image1}}}| ]] | ||
Line 112: | Line 171: | ||
<div style="width:100px;float:left;text-align:left;align:left;padding-top:5px;padding- bottom:5px">Next in dictionary: | <div style="width:100px;float:left;text-align:left;align:left;padding-top:5px;padding- bottom:5px">Next in dictionary: | ||
</div> | </div> | ||
− | + | <div style="width:150px;float:right;text-align:right;align:right;padding-top:5px;padding-bottom:5px"> | |
− | + | {{#ask: [[Category:Dictionary_A-Z]] [[>{{PAGENAME}}]] | |
+ | |offset=1 | ||
+ | |format= | ||
+ | |limit=1 | ||
+ | |searchlabel= | ||
+ | }} | ||
+ | [[Image:Arrowright.png|20px|link=]] | ||
+ | </div> | ||
</div> | </div> | ||
Line 150: | Line 216: | ||
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Dictionary A-Z]]}}</includeonly> | <includeonly>{{#if:{{NAMESPACE}}||[[Category:Dictionary A-Z]]}}</includeonly> | ||
− | <includeonly>{{#if:{{{lexicalcategory|}}}|[[category:{{ | + | <includeonly>{{#if:{{{lexicalcategory|}}}|[[category:{{lc:{{{lexicalcategory}}}}}]]}}</includeonly> |
− | <includeonly>{{#if:{{{thematiccategory|}}}|[[category:{{ | + | <includeonly>{{#if:{{{thematiccategory|}}}|[[category:{{lc:{{{thematiccategory}}}}}]]}}</includeonly> |
<includeonly>{{#if:{{{thematiccategory2|}}}|[[category:{{{thematiccategory2}}}]]}}</includeonly> | <includeonly>{{#if:{{{thematiccategory2|}}}|[[category:{{{thematiccategory2}}}]]}}</includeonly> | ||
<includeonly>{{#if:{{{youtube2|}}}|[[category:Signs with examples]]}}</includeonly> | <includeonly>{{#if:{{{youtube2|}}}|[[category:Signs with examples]]}}</includeonly> | ||
− | <includeonly>{{#if:{{{location|}}}|[[category:{{ | + | <includeonly>{{#if:{{{location|}}}|[[category:{{lc:{{{location}}}}}]]}}</includeonly> |
− | <includeonly>{{#if:{{{handshape|}}}|[[category:{{ | + | <includeonly>{{#if:{{{handshape|}}}|[[category:{{lc:{{{handshape}}}}}]]}}</includeonly> |
<includeonly>{{#if:{{{twohandforms|}}}|[[category:Change in handshape]]}}</includeonly> | <includeonly>{{#if:{{{twohandforms|}}}|[[category:Change in handshape]]}}</includeonly> | ||
<includeonly>[[Signpage::{{PAGENAME}}| ]]</includeonly> | <includeonly>[[Signpage::{{PAGENAME}}| ]]</includeonly> |
Latest revision as of 12:46, 20 March 2018
Missing video for Infoboxsign
You can add examples of usage for this sign.
Infoboxsign
{{{text}}}
{{{{{location}}}}}
{{{{{handshape}}}}}
Lexical category
[[:category:|{{{lexicalcategory}}}]]
Category 1
[[:category:|{{{thematiccategory}}}]]
Category 2
[[:category:{{{thematiccategory2}}}|{{{thematiccategory2}}}]]
Location
[[:category:|{{{location}}}]]
Handshape
[[:category:|{{{handshape}}}]]
Change in handshape
{{{twohandforms}}}
Mouth pattern
{{{mouthpatterns}}}
Related pages
{{{relation1}}}
-
{{{relation2}}}
-
{{{relation3}}}
{{{caption}}}
Next in dictionary:
Usage
{{Infoboxsign | Image1= | text= | lexicalcategory= | thematiccategory= | thematiccategory2= | location= | handshape= | twohandforms= | mouthpatterns= | relation1= | relation2= | relation3= | Image2= | caption= | youtube1= | explanation= | youtube2= | signlanguage= | written= | youtube4= }}