Property:RequiredBy

From Salem Wiki
Jump to: navigation, search
(Initial setup)
 
m (→‎About: updated to include dependency on RepairedWith)
Line 5: Line 5:
 
:This property will be used by {{t|Infobox}}, using {{t|PropVals}}, to automatically list the value(s) even when used multiple times on a page.
 
:This property will be used by {{t|Infobox}}, using {{t|PropVals}}, to automatically list the value(s) even when used multiple times on a page.
 
:It is meant tobe automatically assigned-to using the results of a query like:
 
:It is meant tobe automatically assigned-to using the results of a query like:
::<code><nowiki>{{#ask: [[:+]] [[RequiresObj::~{{PAGENAME}}*]] OR [[:+]] [[RequiresTech::{{PAGENAME}}]] }}</nowiki></code>
+
::<code><nowiki>{{#ask: [[:+]] [[RequiresObj::~{{PAGENAME}}*]] OR [[:+]] [[RepairedWith::~{{PAGENAME}}*]] OR [[:+]] [[RequiresTech::{{PAGENAME}}]] }}</nowiki></code>

Revision as of 17:08, 1 July 2012

Value = Page

About

This property holds the reverse-relation-info of Property:RequiresObj or Property:RequiresTech relative to the current page.
This property will be used by {{Infobox}}, using {{PropVals}}, to automatically list the value(s) even when used multiple times on a page.
It is meant tobe automatically assigned-to using the results of a query like:
{{#ask: [[:+]] [[RequiresObj::~{{PAGENAME}}*]] OR [[:+]] [[RepairedWith::~{{PAGENAME}}*]] OR [[:+]] [[RequiresTech::{{PAGENAME}}]] }}
... more about "RequiredBy"
~RequiredBy* +
Has type"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki.