"ഫലകം:Sister project links/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

No edit summary
Added TemplateData, merged sections, technicals.
വരി 11:
</pre>
 
{{TemplateDataHeader}}
==Location==
<templatedata>
[[File:Sister link template columns problem.jpg|thumb|If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.]]
{
"description": "Displays a terminal window with a set of commands. If the titles in the individual sister projects differ, use the following parameters, which are taken from [[Help:Interwiki linking]].",
"params": {
"1": {
"label": "Search Parameter",
"description": "Use if the ''search parameter'' differs from the pagename.",
"type": "string",
"required": false
},
"display": {
"label": "Display",
"description": "Use if the ''display name'' is different from the search term. For example, the bear article would be 'Bears'.",
"type": "string",
"required": false
},
"author": {
"label": "Author",
"description": "Use for articles about authors to force the sisterlinks to include the Author: prefix. Can set yes/no.",
"type": "string",
"required": false
},
"wikt": {
"label": "Wiktionary link",
"description": "Wiktionary link",
"type": "string",
"required": false
},
"b": {
"label": "Wikibooks link",
"description": "Wikibooks link",
"type": "string",
"required": false
},
"n": {
"label": "Wikinews link",
"description": "Wikinews link",
"type": "string",
"required": false
},
"q": {
"label": "Wikiquote link",
"description": "Wikiquote link",
"type": "string",
"required": false
},
"s": {
"label": "Wikisource link",
"description": "Wikisource link",
"type": "string",
"required": false
},
"v": {
"label": "Wikiversity link",
"description": "Wikiversity link",
"type": "string",
"required": false
},
"voy": {
"label": "Wikivoyage link",
"description": "Wikivoyage link",
"type": "string",
"required": false
},
"d": {
"label": "Wikidata link",
"description": "Wikidata link",
"type": "string",
"required": false
},
"species": {
"label": "Wikispecies link",
"description": "Wikispecies link",
"type": "string",
"required": false
},
"mw": {
"label": "MediaWiki link",
"description": "MediaWiki link",
"type": "string",
"required": false
}
}
}
</templatedata>
 
=== Default display ===
{{cross}} '''Do not place this template in a section all by itself.'''
* If you would like to exclude a link to a particular sister project, input <code>no</code> as the parameter for that sister project. For example, use:
 
{{cross}} '''Do not place this template in a section containing columns.'''
 
This template should normally be placed at the ''top'' of the ==External links== section at the end of an article, if the article has a section for [[WP:EL|external links]]. If no such section exists, then please place it at the top of the last section in the article.
 
On [[WP:DAB|disambiguation pages]], this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.<!-- Per WP:ACCESS, cleanup templates, images, infoboxes, and navboxes are always first. -->
 
See: [[Wikipedia:Wikimedia sister projects#Where to place links|Where to place links]] for more information and alternatives.
 
==Parameters==
* If the ''search parameter'' differs from the pagename, use:
:'''<code><nowiki>{{Sister project links | SearchParameter}}</nowiki></code>'''
* <code>display=</code> if the ''display name'' is different from the search term, use:
:'''<code><nowiki>{{Sister project links | SearchParameter | display=DisplayName}}</nowiki></code>'''
:For example, the [[w:Bear|bear]] article would be coded as: '''<code><nowiki>{{Sister project links | display=bears}}</nowiki></code>'''
* If the titles in the individual sister projects differ, use the following parameters, which are taken from [[Help:Interwiki linking]]:
** <code>wikt=</code> [[Wiktionary]]
** <code>commons=</code> [[Wikimedia Commons]]
** <code>b=</code> [[Wikibooks]]
** <code>n=</code> [[Wikinews]]
** <code>q=</code> [[Wikiquote]]
** <code>s=</code> [[Wikisource]]
** <code>v=</code> [[Wikiversity]]
** <code>voy=</code> [[Wikivoyage]]
** <code>d=</code> [[Wikidata]]
** <code>species=</code> [[Wikispecies]]
** <code>mw=</code> [[MediaWiki]]
:For example:
:'''<code><nowiki>{{Sister project links | wikt=Foo1 | commons=Foo2 | b=Foo3 | n=Foo4 | q=Foo5 | s=Foo6 | v=Foo7 | voy=Foo8 | d=Foo9 | species=Foo10 |mw=Foo11}}</nowiki></code>'''
* <code>author=</code> for articles about authors, use:
:'''<code><nowiki>{{Sister project links | author=yes}}</nowiki></code>'''
:to force the sisterlinks to include the Author: prefix.
 
===Default display===
* If you would like to exclude a link to a particular sister project, input <code>no</code> as the parameter for that sister project. For example, use:
:'''<code><nowiki>{{Sister project links | q=no}}</nowiki></code>'''
:to exclude the Wikiquote sister project. Only these parameters will display by default: <code>wikt</code>, <code>commons</code>, <code>b</code>, <code>n</code>, <code>q</code>, <code>s</code> and <code>v</code>. However, <code>voy</code> only displays by default if the [[d:Property:P107|entity type]] on Wikidata is "geographical feature".
Line 60 ⟶ 110:
:'''<code><nowiki>{{Sister project links| d=RelatedName | species=ScientificName |mw=DocumentationName}}</nowiki></code>'''
 
==See alsoLocation ==
[[File:Sister link template columns problem.jpg|thumb|If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.]]
*[[Template:Commons]]
 
*[[Wikipedia:Template messages/Sister projects]]
{{cross}} '''Do not place this template in a section all by itself.'''
*[[Wikipedia:Wikimedia sister projects]]
 
{{cross}} '''Do not place this template in a section containing columns.'''
 
This template should normally be placed at the ''top'' of the [[Wikipedia:External links|External links]] section at the end of an article, if the article has a section for [[WP:EL|external links]]. If no such section exists, then please place it at the top of the last section in the article.
 
On [[WP:DAB|disambiguation pages]], this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.<!-- Per WP:ACCESS, cleanup templates, images, infoboxes, and navboxes are always first. -->
 
See: [[Wikipedia:Wikimedia sister projects#Where to place links|Where to place links]] for more information and alternatives.
 
== See also ==
* [[Template:Commons]]
* [[Wikipedia:Template messages/Sister projects]]
* [[Wikipedia:Wikimedia sister projects]]
 
<includeonly>
"https://ml.wikipedia.org/wiki/ഫലകം:Sister_project_links/doc" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്