Template:Tool
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This is the template Tool.
It belongs to the concept/topic Concept:Tool
You may find examples for the use of this template via the List of Tools.
Usage
storemode subobject
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |storemode=subobject }}
storemode property
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |storemode=property }}
storemode none
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |storemode=none }}
viewmode tableheader
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |viewmode=tableheader }}
viewmode tablerow
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |viewmode=tablerow }}
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |viewmode=tablefooter }}
viewmode labelfield
{{Tool |name= |logo= |logourl= |website= |wikipediaurl= |stackoverflow= |stackoverflowQuestionCount= |category= |pollResult= |viewmode=labelfield }}
Source
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Tool<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?logo|}}}|"{{{?logo}}}" is logo of it <br>|}}
{{#if:{{{?logourl|}}}|"{{{?logourl}}}" is logourl of it <br>|}}
{{#if:{{{?website|}}}|"{{{?website}}}" is website of it <br>|}}
{{#if:{{{?wikipediaurl|}}}|"{{{?wikipediaurl}}}" is wikipediaurl of it <br>|}}
{{#if:{{{?stackoverflow|}}}|"{{{?stackoverflow}}}" is stackoverflow of it <br>|}}
{{#if:{{{?stackoverflowQuestionCount|}}}|"{{{?stackoverflowQuestionCount}}}" is stackoverflowQuestionCount of it <br>|}}
{{#if:{{{?category|}}}|"{{{?category}}}" is category of it <br>|}}
{{#if:{{{?pollResult|}}}|"{{{?pollResult}}}" is pollResult of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|{{#set:
|isA=Tool
|Tool name={{{name|}}}
|Tool logo={{{logo|}}}
|Tool logourl={{{logourl|}}}
|Tool website={{{website|}}}
|Tool wikipediaurl={{{wikipediaurl|}}}
|Tool stackoverflow={{{stackoverflow|}}}
|Tool stackoverflowQuestionCount={{{stackoverflowQuestionCount|}}}
|Tool category={{{category|}}}
|Tool pollResult={{{pollResult|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!logo!!logourl!!website!!wikipediaurl!!stackoverflow!!stackoverflowQuestionCount!!category!!pollResult
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{logo|}}}{{!}}{{!}}{{{logourl|}}}{{!}}{{!}}{{{website|}}}{{!}}{{!}}{{{wikipediaurl|}}}{{!}}{{!}}{{{stackoverflow|}}}{{!}}{{!}}{{{stackoverflowQuestionCount|}}}{{!}}{{!}}{{{category|}}}{{!}}{{!}}{{{pollResult|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>logo={{#if:{{{logo|}}}|[[{{{logo|}}}]]|}}<br>logourl={{#if:{{{logourl|}}}|{{{logourl|}}}|}}<br>website={{#if:{{{website|}}}|{{{website|}}}|}}<br>wikipediaurl={{#if:{{{wikipediaurl|}}}|{{{wikipediaurl|}}}|}}<br>stackoverflow={{#if:{{{stackoverflow|}}}|{{{stackoverflow|}}}|}}<br>stackoverflowQuestionCount={{#if:{{{stackoverflowQuestionCount|}}}|{{{stackoverflowQuestionCount|}}}|}}<br>category={{#if:{{{category|}}}|{{{category|}}}|}}<br>pollResult={{#if:{{{pollResult|}}}|{{{pollResult|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Tool
{{!}}-
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!logo
{{!}} {{#if:{{{logo|}}}|[[{{{logo|}}}]]|}}
{{!}}-
!logourl
{{!}} {{#if:{{{logourl|}}}|{{{logourl|}}}|}}
{{!}}-
!website
{{!}} {{#if:{{{website|}}}|{{{website|}}}|}}
{{!}}-
!wikipediaurl
{{!}} {{#if:{{{wikipediaurl|}}}|{{{wikipediaurl|}}}|}}
{{!}}-
!stackoverflow link
{{!}} {{#if:{{{stackoverflow|}}}|{{{stackoverflow|}}}|}}
{{!}}-
!no of stackoverflow questions
{{!}} {{#if:{{{stackoverflowQuestionCount|}}}|{{{stackoverflowQuestionCount|}}}|}}
{{!}}-
!Category
{{!}} {{#if:{{{category|}}}|{{{category|}}}|}}
{{!}}-
!pollResult
{{!}} {{#if:{{{pollResult|}}}|{{{pollResult|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Tool]]
Click on "Edit" to edit the Source of this Template.