Difference between revisions of "Template:Infoboxsign"

From SignWiki
Jump to navigation Jump to search
(changed #lowercase to lc)
(Fixed previous/next sign links, and next in category link)
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>
  
<div style="width:125px;float:left;font-size:10px;text-align:left;aling:left;padding-top:5px;padding-bottom:5px;">[[Image:Arrowleft.png|15px|link={{#ifeq: {{#pagebefore:category={{#replace:{{{thematiccategory}}}| |_}} }} | | {{#lastpage:category={{#replace:{{{thematiccategory}}}| |_}} }} | {{#pagebefore:category={{#replace:{{{thematiccategory}}}| |_}} }} }}]][[{{#ifeq: {{#pagebefore:category={{#replace:{{{thematiccategory}}}| |_}} }} | | {{#lastpage:category={{#replace:{{{thematiccategory}}}| |_}} }} | {{#pagebefore:category={{#replace:{{{thematiccategory}}}| |_}} }}}}]]
+
{{#if: {{{thematiccategory|}}} |
</div>
+
<div style="width:125px;float:left;font-size:10px;text-align:left;aling:left;padding-top:5px;padding-bottom:5px;">
<div style="width:125px;float:right;font-size:10px;text-align:right;aling:right;padding-top:5px;padding-bottom:5px;">[[{{#ifeq: {{#pageafter:category={{#replace:{{{thematiccategory}}}| |_}} }} | | {{#firstpage:category={{#replace:{{{thematiccategory}}}| |_}} }} | {{#pageafter:category={{#replace:{{{thematiccategory}}}| |_}} }} }}]][[Image:Arrowright.png|15px|link={{#ifeq: {{#pageafter:category={{#replace:{{{thematiccategory}}}| |_}} }} | | {{#firstpage:category={{#replace:{{{thematiccategory}}}| |_}} }} | {{#pageafter:category={{#replace:{{{thematiccategory}}}| |_}} }} }}]]
+
[[Image:Arrowleft.png|20px|link=]]
</div>
+
{{#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}}]]|<img src="http://img.youtube.com/vi/{{{youtube1}}}/hqdefault.jpg" width="250px" />}}[[Sign image::{{{Image1}}}| ]]
 
<div>{{#if:{{{Image1|}}}|[[Image:{{{Image1}}}|250px|alt={{PAGENAME}}]]|<img src="http://img.youtube.com/vi/{{{youtube1}}}/hqdefault.jpg" width="250px" />}}[[Sign image::{{{Image1}}}| ]]
 
  </div>
 
  </div>
Line 112: Line 172:
 
   <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">[[{{#pageafter:category=Dictionary_A-Z}}]][[Image:Arrowright.png|20px|link={{#pageafter:category=Dictionary_A-Z}}]]
+
<div style="width:150px;float:right;text-align:right;align:right;padding-top:5px;padding-bottom:5px">
  </div>
+
{{#ask: [[Category:Dictionary_A-Z]] [[>{{PAGENAME}}]]
 +
|offset=1
 +
|format=
 +
|limit=1
 +
|searchlabel=
 +
}}
 +
[[Image:Arrowright.png|20px|link=]]
 +
</div>
 +
 
  
 
</div>
 
</div>

Revision as of 20:48, 28 February 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}}}


Image-missing.png
{{{caption}}}


Usage

{{Infoboxsign
| Image1=          
| text=             
| lexicalcategory=          
| thematiccategory= 
| thematiccategory2=              
| location= 
| handshape=
| twohandforms=
| mouthpatterns=
| relation1=    
| relation2=
| relation3=
| Image2=           
| caption=   
| youtube1= 
| explanation=             
| youtube2=            
| signlanguage=                 
| written=    
| youtube4=            
           
}}









Template:Metadesc