Template:Mbabel-Library/doc: Difference between revisions

Content deleted Content added
Created page with '== Description == This template creates an automated generated article about the '''Libraries''' in the user sandbox using data extracted from Wikidata. {{o...'
 
Category:Library templates
 
(5 intermediate revisions by 3 users not shown)
Line 1:
{{Documentation subpage}}
== Description ==
{{Always substitute}}
This template creates an automated generated article about the '''Libraries''' in the user sandbox using data extracted from [[Wikidata]].
 
{{ombox|type = content|text = The draft must be '''''inexorably''''' created in a Sandbox page and '''''only after a revision of the content and sources''''' should be tranfered to the mainspace}}
 
{{ombox|type = content|text = '''This template should always be [[Help:Substitution|substituted]]''' (i.e., use <nowiki>{{subst:Mbabel-Library|<parameters>}}</nowiki>)}}
 
The code to use the template is:
 
==Usage==
<code><nowiki>{{subst:Mbabel-Library|LIBRARY_QID}}</nowiki></code>
 
Line 13 ⟶ 9:
 
<code><nowiki>{{subst:Mbabel-Library|Q193563}}</nowiki></code> for the [[Bibliothèque nationale de France]].
 
==TemplateData==
<templatedata>
{
"params": {
"1": {
"aliases": [
"qid"
],
"description": "Wikidata ID",
"example": "Q193563",
"type": "string",
"required": true
}
},
"description": "Creates a draft article about libraries in the user's sandbox page."
}
</templatedata>
 
<includeonly>{{sandbox other||
<!-- Categories below this line -->
[[Category:Library templates]]
}}</includeonly>