Changes

Jump to navigation Jump to search
1,843 bytes added ,  15:26, 15 May 2020
unlink the image
<noinclude>This is the 'Feature' template. It is used like this:<pre>{{Feature |image= |imgdesc=}}</pre>[[Category:Info templates]] == Template preview ==</noinclude><onlyinclude>{| class="wikitablesmworgtable-v2" alignstyle="position: relative; float: right; clear: right; width: 260px;"! colspan="2" style="padding-top: 2px; " | {{PAGENAME}} <span style="position: relative; top:-2px; float: right;">[[File:Dialog-information.svg|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>|- <!-- *** IMAGE *** -->{{#if: {{{image|}}} |{{Tablesection |Label=[[File:{{{image|}}}|280px|center|link=|{{{imgdesc|}}}]] |Textcolor=#ddd |Color=#fff }}{{#set: Has image=File:{{{image|}}} }} }}|-{{#ifeq: {{{imgdesc|}}} | | |{{Tablerow |Label=Image shows: |Value={{{imgdesc|}}} }} }}|- <!-- *** SLIDESHOW *** -->{{#if: {{{collection|}}} |{{Tablesection |Label={{#ask: [[has image collection::{{{collection|}}}]] |?Has description |widths=220 |heights=220 |format=gallery |widget=slideshow |class=demo-center |navigation=auto |autocaptions=no }} |Color=#fff |Textcolor=#aaa }} }}|- <!-- *** SUMMARY *** -->{{Tablesection |Label=Summary |Color=#dcf0f7 |Textcolor=#0c2c52 }} |-{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature title}} | | |{{Tablerow |Label=Title: |Value={{#show: {{FULLPAGENAME}} |?feature title }} }} }}|-{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature description}} | | |{{Tablerow |Label=Description: |Value={{#show: {{FULLPAGENAME}}|?feature description }} }} }}|- <!-- *** MAP *** -->{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label=Map |Color=#dcf0f7 |Textcolor=#0c2c52 }} }}|-{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label={{#display_map: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }} }}|- <!-- *** MORE *** -->{{Tablesection |Label=More |Color=#dcf0f7 |Textcolor=#0c2c52 }}
|-
! [[{{#ifeq: {explains{#show: {{FULLPAGENAME}} |?feature notes}} | | |{{Tablerow |Label=Notes: |Value={{#show: {{FULLPAGENAME}} |?feature notes }} }}}}]]
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature tests}} | | |{{Tablerow |Label=Test: |Value={{description#show: {{FULLPAGENAME}} |?feature tests }} }}}}
|-
| {{#ififeq: {{{notes|add notes#show:[[{{{explains}}}]]}FULLPAGENAME}} | Notes<br />{{{notes}?feature examples}}<br /> | }}{{#if: {{{tests|}}} | Tests<br />{{{tests}}}<br /> Tablerow |Label=Example: | }}Value={{ #ifshow: {{{examples|}FULLPAGENAME}} | Examples<br />{{{?feature examples}}} | } }}
|}
<!-- add a declare block -->{{#declare:explainsFeature=explains|featureDescription=description}}<includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly><noinclude>{{documentation}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noincludeonlyinclude>

Navigation menu