|
|
Line 129: |
Line 129: |
|
| |
|
| To use a template that has been created to hold this data, you use the option "plainlist" and the template name that's been created. More info on other options can be found at the initial link. An example of the final piece of code in this instance might look like | | To use a template that has been created to hold this data, you use the option "plainlist" and the template name that's been created. More info on other options can be found at the initial link. An example of the final piece of code in this instance might look like |
|
| |
|
| |
|
| <pre> | | <pre> |
Line 156: |
Line 155: |
| </pre> | | </pre> |
|
| |
|
| | '''Code Explanation'' |
| <pre> | | <pre> |
| <nowiki> | | <nowiki> |
| {{#ask: [[Category:CATEGORY NAME]] [[Modification date::+]] [[PROPERTY::PROPERTY NAME]] | | {{#ask: [[Category:CATEGORY NAME]] [[Modification date::+]] [[PROPERTY::PROPERTY NAME]] |
| ''PROPERTIES TO BE QUERIED OR DISPLAYED MUST GO BELOW''
| | //PROPERTIES TO BE QUERIED OR DISPLAYED MUST GO BELOW// |
| |?Event description | | |?Event description |
| |?Date Start | | |?Date Start |
Line 165: |
Line 165: |
| |?Event image | | |?Event image |
| |?Event name | | |?Event name |
| |format=plainlist | | //ALL SPECIFIC OPTIONS// |
| |limit=50 | | |format=plainlist - MUST BE USED FOR USING A TEMPLATE |
| | |limit=50 - LIMIT OF HOW MANY RESULTS TO DISPLAY |
| |offset=0 | | |offset=0 |
| |link=all | | |link=all |
| |sort=Date Start | | |sort=Date Start - SORT FIELD |
| |order=asc | | |order=asc - SORT ORDER |
| |headers=show | | |headers=show - IF YOU WANT TO DISPLAY HEADERS OR NOT |
| |searchlabel=... further results | | |searchlabel=... further results |
| |propsep=, | | |propsep=, - NEEDS TO BE A COMA |
| |valuesep=, | | |valuesep=, - NEEDS TO BE A COMA |
| |template=Single_Event_Display | | |template=Single_Event_Display - THIS IS HOW THIS INFORMATION WILL BE DISPLAYED, OR WHERE THE QUERY WILL BE PASSED THROUGH, DESIGN MUST BE EDITED ON THE TEMPLATE FOR CHANGES, BUT THOSE CHANGES WILL BE THROUGH THE ENTIRE WIKI |
| |named args=1 | | |named args=1 - MUST BE CHECKED |
| |class=sortable wikitable smwtable | | |class=sortable wikitable smwtable |
| }} | | }} |
Revision as of 18:38, May 25, 2024
Design and Formatting
Wiki
Code Blocks
Semantic Queries and Templates
How to use intro box
Articles