Difference between pages "Template:Invert-property" and "File:Tz-map.gif"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
(New page: <noinclude> This template takes a property name and its inverse property name. It queries for the inverse property name and produces wiki text with the inverted annotations. Usage: <nowi...)
 
 
Line 1: Line 1:
<noinclude>
 
This template takes a property name and its inverse property name.  It queries for the inverse property name and produces wiki text with the inverted annotations.
 
  
Usage: <nowiki>{{Invert-property|Derived property name|Its inverse property name}}</nowiki>
 
 
This hides the annotation by specifying blank as the alternate text.  Since "<tt>| </tt>" in a template confuses parsing, it uses a subtemplate [[Template:Invert-property/Separator]] for the separator.
 
 
See [[California]] for use of this template.
 
 
(Credit goes to Semantic MediaWiki user DanTMan for this technique.)
 
[[Category:Semantic templates]]
 
 
</noinclude>
 
 
 
 
<includeonly>[[{{{2}}}::{{#ask:[[{{{1}}}::{{PAGENAMEE}}]]|link=none|sep={{Invert-property/Separator|{{{2}}}}}}}|
 
]]</includeonly>
 

Revision as of 19:57, 25 January 2008