Template:Feature: Difference between revisions
unlink the image |
add a fallback for title so that feature title is always set |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude> | ||
<!-- Use #set for property setting --> | |||
{{#set: | |||
feature title = {{{title|{{PAGENAME}}}}} | |||
| feature description = {{{description|}}} | |||
{{ | | feature notes = {{{notes|}}} | ||
| feature examples = {{{examples|}}} | |||
| feature tests = {{{tests|}}} | |||
| has image description = {{{imgdesc|}}} | |||
| has image collection = {{{collection|}}} | |||
}} | }} | ||
{| class="smworgtable-v2" style="position: relative; float: right; clear: right; width: 260px;" | {| class="smworgtable-v2" style="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> | ! 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> | ||
| Line 42: | Line 40: | ||
<includeonly>[[Category:Feature]]</includeonly> | <includeonly>[[Category:Feature]]</includeonly> | ||
</onlyinclude> | </onlyinclude> | ||
<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||