Template:Inlocation: Difference between revisions

From JanWiki
Jump to navigation Jump to search
(retype props)
(clear around images)
Line 18: Line 18:
|In slot={{{slot|}}}
|In slot={{{slot|}}}
|Locationcomment={{{comment|}}}
|Locationcomment={{{comment|}}}
}}
}}<br style="clear: both" />
Case {{{case|}}} page {{{page|}}} slot {{{slot|}}} {{#if: {{{comment|}}}|comment: {{{comment}}}}}
Case {{{case|}}} page {{{page|}}} slot {{{slot|}}} {{#if: {{{comment|}}}|comment: {{{comment}}}}}

Revision as of 13:37, 5 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 containing properties Property:In case, Property:On page and Property:In slot and Property:Locationcomment.