Changes

Jump to navigation Jump to search
1,765 bytes added ,  15:26, 15 May 2020
unlink the image
<includeonlynoinclude>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="widthpadding-top: 2px; " | {{PAGENAME}} <span style="position: relative; top:min-content2px; 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: {{{explainsimgdesc|}}}]]| | |{{Tablerow |Label=Image shows: |Value={{{descriptionimgdesc|}}} }}}}| - <!-- *** SLIDESHOW *** -->{{#if: {{{notescollection|}}} |{{Tablesection |add notesLabel={{#ask:[[has image collection::{{{explainscollection|}}}]]|?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: {notes{FULLPAGENAME}} |?feature title }}}} }}| -{{#ifeq: {{#ifshow: {{FULLPAGENAME}} |?feature description}} | | |{{Tablerow |Label=Description: |Value={{#show: {{testsFULLPAGENAME}}|?feature description }} }}}} | - <!-- *** MAP *** -->{{#if: {tests{#show: {{FULLPAGENAME}} |?Has coordinates }}|{{Tablesection |Label=Map |Color=#dcf0f7 |Textcolor=#0c2c52 }} }}| -{{#if: {{#show: {{examplesFULLPAGENAME}} |?Has coordinates }}} | {{Tablesection |Label={{#display_map: {examples{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }}} }|- <!-- *** MORE *** -->{{Tablesection |Label=More |Color=#dcf0f7 |Textcolor=#0c2c52 }} | -{{#formlinkifeq:form{{#show: {{FULLPAGENAME}} |?feature notes}} | | |{{Tablerow |Label=Notes: |link textValue=edit{{#show: {{FULLPAGENAME}} |link type?feature notes }} }} }}|-{{#ifeq: {{#show: {{FULLPAGENAME}} |?feature tests}} | | |{{Tablerow |Label=post buttonTest: |tooltipValue=Edit with Form{{#show: {{FULLPAGENAME}} |target=?feature tests }} }} }}|-{{#ifeq: {{#show: {{PAGENAMEFULLPAGENAME}} |?feature examples}}|popup|reload|returnto{{Tablerow |Label=FeaturesExample: |Value={{#show: {{FULLPAGENAME}} |?feature examples }} }} }}
|}
 {{#declare:feature explanation=explains|feature description=description|feature notes=notes|feature tests=tests|feature examples=examples}}<includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly><noinclude>{{documentation}}</noincludeonlyinclude>

Navigation menu