Template:Short description/test/doc: Difference between revisions

From Bharatpedia, an open encyclopedia
(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}}...")
 
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 Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- 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 Wikidata if <code>wikidata</code> is supplied.
* {{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 Wikidata -->
<!-- Categories below this line, please; interwikis at Bharatdata -->


}}</includeonly>
}}</includeonly>

Latest revision as of 10:27, 5 December 2023

Usage

For testing purposes, this is a version of the {{Short description}} template which displays its text by default.

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 }}underwater diving where breathing is from equipment independent of the surface
  • {{short description/test|none }}
  • {{short description/test|wikidata }}<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-1">Lua error in Module:WikidataIB at line 2542: attempt to index field 'wikibase' (a nil value).</span></strong>