Difference between revisions of "Template:SMWDefaultMarkup"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude>[[category:Semantic Templates]]'''This template adds SMWData to the page, based on the existing data.''' It has no parameters. It is currently fairly simple, | <noinclude>[[category:Semantic Templates]]'''This template adds SMWData to the page, based on the existing data.''' It has no parameters. It is currently fairly simple, | ||
− | and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue. | + | and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue. It is called at the top of [[Template:SMWDocs]], so applies to any page which contains <nowiki>{{SMWDocs}}</nowiki>. |
<hr/> | <hr/> | ||
The following properties are set: | The following properties are set: |
Revision as of 17:23, 4 July 2019
This template adds SMWData to the page, based on the existing data. It has no parameters. It is currently fairly simple, and should probably remain that way, because it affects so many pages and has the potential to tie up the SMW jobs queue. It is called at the top of Template:SMWDocs, so applies to any page which contains {{SMWDocs}}.
The following properties are set:
- Property:Has fullPageName
- Property:Has fullPageNamee
- Property:Has parentFullPageName
- Property:Has revisionSize
- Property:Has revisionUser
- Property:Has averageRating
- Property:Has noRatings
- Property:Is not stub (Iff Property:Is stub is not set)
- Property:Has nationality (Set to 'unknown' if Property:Has nationality is not set)
- Property:Display docType
- Property:Display born on
- Property:Display died on
- Property:Display date
- Property:Display image
- Property:Display image2
- Property:Display lifespan
- Property:ON display date
2016-04-18: Addition: It also adds "" if the page was modified within the last 36 hours.