Difference between revisions of "Template:SMWDefaultMarkup"
Jump to navigation
Jump to search
(Display lifespan) |
(display icon) |
||
Line 7: | Line 7: | ||
* [[Property:Display docType]] | * [[Property:Display docType]] | ||
* [[Property:Display date]] | * [[Property:Display date]] | ||
+ | * [[Property:Display icon]] | ||
* [[Property:ON display date]] | * [[Property:ON display date]] | ||
* [[Property:Display lifespan]] | * [[Property:Display lifespan]] | ||
</noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]]<!--[[Has pageName::{{PAGENAME}}| ]]-->[[Has rootFullPageName::{{#titleparts: {{FULLPAGENAME}} | 1 }}| ]]<!-- | </noinclude><includeonly>[[Has fullPageName::{{FULLPAGENAME}}| ]]<!--[[Has pageName::{{PAGENAME}}| ]]-->[[Has rootFullPageName::{{#titleparts: {{FULLPAGENAME}} | 1 }}| ]]<!-- | ||
− | SET DISPLAY PROPERTIES -->{{Display docType}}{{Display date}}{{ON display date}}{{Display lifespan}}</includeonly> | + | SET DISPLAY PROPERTIES -->{{Display docType}}{{Display date}}{{ON display date}}{{#if: {{#ask: [[Has objectClass::{{PAGENAME}}]]}}|[[Display icon::{{#ask: [[Has objectClass::{{PAGENAME}}]]}}.png| ]]|[[Display icon::Torchlight_help_icon.png| ]]}}{{Display lifespan}}</includeonly> |
Revision as of 09:27, 18 September 2014
This template adds SMWData to the page, based on the existing data. It has no parameters. It is currently simple, and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue.
The following properties are set: