Difference between revisions of "Wikispooks:Semantic Objects"
Jump to navigation
Jump to search
(plan to remove book?) |
(Object templates section) |
||
Line 1: | Line 1: | ||
{{HelpSection|image=SMW.png}} | {{HelpSection|image=SMW.png}} | ||
Underpinning WikiSpooks' use of Semantic Mediawiki is a set of objects. None of these are complete as yet. The plan is to create templates first, then forms. | Underpinning WikiSpooks' use of Semantic Mediawiki is a set of objects. None of these are complete as yet. The plan is to create templates first, then forms. | ||
+ | |||
==Objects On WikiSpooks== | ==Objects On WikiSpooks== | ||
{| class="sortable wikitable" style="text-align: center; width: 95%" | {| class="sortable wikitable" style="text-align: center; width: 95%" | ||
Line 63: | Line 64: | ||
| Types= { ? } | | Types= { ? } | ||
|} | |} | ||
+ | |||
+ | ==Object Templates== | ||
+ | Most object templates share a common structure. Custom Wikispooks template code silently sets the [[Wikispooks:Semantic Properties|Semantic Properties]] (eventually, almost all parameters will have a corresponding property) and then calls an [[Template:infobox|infobox]] template from [[Wikipedia]], typically lightly customised, e.g. to add a {{t|{{{!}}}Wikipedia}} parameter. | ||
==See Also== | ==See Also== |
Revision as of 15:12, 2 March 2014
Underpinning WikiSpooks' use of Semantic Mediawiki is a set of objects. None of these are complete as yet. The plan is to create templates first, then forms.
Objects On WikiSpooks
Object | SMW Template | Infobox Template | Form | Notes |
---|---|---|---|---|
Make this a sub-object of Document? | ||||
Document | Template:DocProv | None as yet | Form:Document | The most complete object so far, although the template has evolved and contains some legacy code. |
Event | Template:Event | Template:Infobox event | Form:Event | Type= { War, Bombing, Meeting, Scandal, Death } |
Group | Template:Group | Template:Infobox organization | Form:Group | Types= { Nation State, Secret Society, Think Tank, Foundations, Lobby, Corporation, NGO } |
Operation | Template:Operation | Template:Infobox operational plan | Form:Operation | Maybe draw on Category:Social_Control for different types |
Person | Template:Person | Template:Infobox person | Form:Person | Types= { ? } |
Place | Template:Place | Template:Infobox settlement | Form:Place | Buildings up to provinces |
Property | Template:Property | None | Form:Property | Types= { Special, Display, Data } |
Website | Template:Website | Template:Infobox website | Form:Website | Types= { ? } |
Object Templates
Most object templates share a common structure. Custom Wikispooks template code silently sets the Semantic Properties (eventually, almost all parameters will have a corresponding property) and then calls an infobox template from Wikipedia, typically lightly customised, e.g. to add a {{{!}}}Wikipedia parameter.
See Also
- Category:Object Templates
- The talk page for discussion/suggestion of other objects.
| ||||||
|