Actions

Template

Difference between revisions of "Extension"

From WikiApiary, monitoring the MediaWiki universe

(fix nameing of property)
(sync with sandbox)
Line 146: Line 146:
 
       <div class="large-3 column">Tags:</div>
 
       <div class="large-3 column">Tags:</div>
 
       <div class="large-9 column">{{#if: {{{Tags|}}} | {{#arraymap:{{{Tags|}}}|,|@@@@|{{#set: Has tag=@@@@}}{{#queryformlink:form=Extension by Tag|link text=@@@@|link type=|query string=Extension by Tag[Tag]={{urlencode:@@@@}}&wpRunQuery=true|tooltip=Show extensions tagged @@@@}}}} | ''So far this extension has not been tagged.'' }}</div>
 
       <div class="large-9 column">{{#if: {{{Tags|}}} | {{#arraymap:{{{Tags|}}}|,|@@@@|{{#set: Has tag=@@@@}}{{#queryformlink:form=Extension by Tag|link text=@@@@|link type=|query string=Extension by Tag[Tag]={{urlencode:@@@@}}&wpRunQuery=true|tooltip=Show extensions tagged @@@@}}}} | ''So far this extension has not been tagged.'' }}</div>
 +
    </div>
 +
 +
    <div class="row">
 +
      <div class="large-3 column">Related skins:</div>
 +
      <div class="large-9 column">{{#switch:
 +
{{#ask:[[Category:Skin]] [[Has extension::{{FULLPAGENAME}}]] |format=count }}
 +
|0=''This extension has no related skins.''
 +
|{{#arraymap:{{#ask:[[Category:Skin]] [[Has extension::Extension:Bootstrap]]|link=none|format=list}}|,|@@@@|[[Has related skin::@@@@]]}}
 +
  }}
 +
</div>
 
     </div>
 
     </div>
  

Revision as of 19:35, 28 July 2021

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

{{Extension
|Name=
|URL=
|Description=
|Current version=
|Tags=
|Image=
|Note=
}}

Edit the page to see the template text.