Difference between revisions of "Template:OCLCUnpack/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}<noinclude>
{{Documentation subpage}}
helper stuff
example usage:
 
<nowiki>{{OCLCUnpack|15155181|def}}</nowiki>
 
param 1 is oclc
 
param 2 is just "def"
 
<templatedata>
{
"params": {
"1": {
"aliases": [
"oclc"
],
"label": "OCLC",
"description": "OCLC number is a variable-length numeric string to link local records from local systems to WorldCat records.",
"type": "number"
},
"2": {
"aliases": [
"opt"
],
"label": "Option",
"required": true,
"description": "use \"def\"",
"default": "def"
}
},
"description": "oclc",
"paramOrder": [
"1",
"2"
]
}
</templatedata>
 
== Links ==
* purge tpl: http://ephemeralfilm.info/index.php?title=Template:OCLCUnpack&action=purge

Latest revision as of 17:41, 20 July 2024

- - -

There is a documentation subpage housing the metadata about parent template: OCLCUnpack.

example usage:

{{OCLCUnpack|15155181|def}}

param 1 is oclc

param 2 is just "def"

oclc

Template parameters

ParameterDescriptionTypeStatus
OCLC1 oclc

OCLC number is a variable-length numeric string to link local records from local systems to WorldCat records.

Numberoptional
Option2 opt

use "def"

Default
def
Unknownrequired

Links