Template:Short description/test/doc: Difference between revisions
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == For testing purposes, this is a version of the {{tl|Short description}} template which displays its text by default. * {{tl|Short description/test}} displays the short description if supplied * {{tl|Short description/test}} displays nothing if <code>none</code> is supplied * {{tl|Short description/test}}...") |
CleanupBot (talk | contribs) m (clean up) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at | <!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) --> | ||
== Usage == | == Usage == | ||
For testing purposes, this is a version of the {{tl|Short description}} template which displays its text by default. | For testing purposes, this is a version of the {{tl|Short description}} template which displays its text by default. | ||
* {{tl|Short description/test}} displays the short description if supplied | * {{tl|Short description/test}} displays the short description if supplied | ||
* {{tl|Short description/test}} displays nothing if <code>none</code> is supplied | * {{tl|Short description/test}} displays nothing if <code>none</code> is supplied | ||
* {{tl|Short description/test}} displays the description from | * {{tl|Short description/test}} displays the description from Bharatdata if <code>wikidata</code> is supplied. | ||
Taking {{Q|Q1096878}} as an example: | Taking {{Q|Q1096878}} as an example: | ||
Line 13: | Line 13: | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at | <!-- Categories below this line, please; interwikis at Bharatdata --> | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 10:27, 5 December 2023
![]() | This is a documentation subpage for Template:Short description/test. It contains usage information, categories and other content that is not part of the original template page. |
Usage
For testing purposes, this is a version of the {{Short description}} template which displays its text by default.
- {{Short description/test}} displays the short description if supplied
- {{Short description/test}} displays nothing if
none
is supplied - {{Short description/test}} displays the description from Bharatdata if
wikidata
is supplied.
Taking Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1096878) as an example:
{{short description/test|underwater diving where breathing is from equipment independent of the surface }}
→{{short description/test|none }}
→{{short description/test|wikidata }}
→