Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ISBN/doc: Difference between revisions

Template page
add parameter description;example should not contain the template’s name, just the parameter
m remove duplicate parameter
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Lua|Module:check isxn}}
{{TemplateBox
{{TemplateBox
   |1        = 1
   |1        = 1
   |1label   = ISBN
   |1label-en= ISBN
   |1d-en    = The ISBN itself, without any prefix or formatting
   |1d-en    = The ISBN itself, without any prefix or formatting
  |1d-td    = <!-- description of the first parameter the template takes without any wiki marking-->
   |1aliases = <!-- List of aliases, separated by / (a slash) -->
   |1aliases = <!-- List of aliases, separated by / (a slash) -->
   |1type    = string/line
   |1type    = line
   |1def    = <!-- default value for the parameter -->
   |1def    = <!-- default value for the parameter -->
   |1stat    = required
   |1stat    = required


   |name              =ISBN
   |name              =ISBN
   |desc              =Replaces magic link ISBN with a template
   |desc              =Replaces magic link ISBN with a template.
   |namespace          =
   |namespace          =all
   |usergroup          =
   |usergroup          =all
   |placement          =
   |placement          =
  |example-value      =
   |mustbesubst        =
   |mustbesubst        =
   |relieson          =
   |relieson          =
* {{tl|nbsp}}
* [[Module:check isxn]]
   |usage-notes        =
   |usage-notes        =
   |shorthand          =
   |shorthand          =
Line 23: Line 24:
   |type              =
   |type              =
   |i18n-desc          =
   |i18n-desc          =
   |i18n-subpage      =
   |i18n-method        = ext.translate
   |i18n-mediawiki-msg =
   |example            = <nowiki>0-7475-3269-9}}
  |i18n-method        =
{{ISBN|0-7475-3269-X</nowiki>
   |example           = 0-7475-3269-9
   |example-value      = {{ISBN|0-7475-3269-9}}<br>{{ISBN|0-7475-3269-X}}
   |print              =
   |print              =
  |useTemplateData    = only
}}
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.