Difference between revisions of "Module:External links/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(description)
blackwiki>Zyxw
(fix link)
Line 2: Line 2:
 
<!-- 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 Wikidata (see [[Wikipedia:Wikidata]]) -->
  
This module is designed for implementing templates to display external links in an English Wikipedia article, using the properties defined in that article's [[Wikidata]] item. It was based on the [[Norwegian Wikipedia]] module [[:no:Modul:External]].
+
This module is designed for implementing templates to display external links in an English Wikipedia article, using the properties defined in that article's [[Wikidata]] item. It was based on the [[Norwegian Wikipedia]] module [[:no:Modul:External links]].
  
 
The first test implementation is [[Template:Sports links]] (based on [[:no:Mal:Sportslenker]]). The sports-related link properties and formats are specified in [[Module:External links/conf/Sports]] (based on [[:no:Modul:External links/conf/Sport]]).
 
The first test implementation is [[Template:Sports links]] (based on [[:no:Mal:Sportslenker]]). The sports-related link properties and formats are specified in [[Module:External links/conf/Sports]] (based on [[:no:Modul:External links/conf/Sport]]).
Line 17: Line 17:
  
 
== Usage ==
 
== Usage ==
 
 
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
 
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
== submodules ==
 
  
 +
== Submodules ==
 
{{Special:PrefixIndex|prefix=External links/|namespace=828|stripprefix=0}}
 
{{Special:PrefixIndex|prefix=External links/|namespace=828|stripprefix=0}}
  

Revision as of 12:57, 23 May 2018

This module is designed for implementing templates to display external links in an English Wikipedia article, using the properties defined in that article's Wikidata item. It was based on the Norwegian Wikipedia module no:Modul:External links.

The first test implementation is Template:Sports links (based on no:Mal:Sportslenker). The sports-related link properties and formats are specified in Module:External links/conf/Sports (based on no:Modul:External links/conf/Sport).

Other subject-based implementations at the Norwegian Wikipedia include:

Usage

{{#invoke:External links|function_name}}

Submodules