Template:Inlocation: Difference between revisions

From JanWiki
Jump to navigation Jump to search
(loc template with SIO started)
 
(explanation)
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:Templates]]
This template sets a location in the CD case collection for the page that it's invocated from. It takes 3 mandatory and 1 optional field:
* ''case'' contains the number of the CD case
* ''page'' contains the page within the case
* ''slot'' contains the slot on the page (A or B)
* ''comment'' (optional) may be used if a CD occupies multiple slots; e.g. for a double CD: "CD 1" and "CD 2"
An example invocation:
<pre><nowiki>{{Inlocation
<pre><nowiki>{{Inlocation
|case=1
|case=1
Line 6: Line 12:
|comment=
|comment=
}}</nowiki></pre>
}}</nowiki></pre>
The invocation of this template creates a Semantic Internal Object [[Property:Location contains|Location contains]].
</noinclude><includeonly>{{#set_internal:Location contains
</noinclude><includeonly>{{#set_internal:Location contains
|case={{{case|}}}
|case={{{case|}}}

Revision as of 18:34, 4 May 2012

This template sets a location in the CD case collection for the page that it's invocated from. It takes 3 mandatory and 1 optional field:

  • case contains the number of the CD case
  • page contains the page within the case
  • slot contains the slot on the page (A or B)
  • comment (optional) may be used if a CD occupies multiple slots; e.g. for a double CD: "CD 1" and "CD 2"

An example invocation:

{{Inlocation
|case=1
|page=1
|slot=A
|comment=
}}

The invocation of this template creates a Semantic Internal Object Location contains.