Difference between revisions of "Template:Dig"

From Wikiworld's pages
Jump to navigation Jump to search
(generic.)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
For a link to more detailed wikipedia article:
 
For a link to more detailed wikipedia article:
 +
 
<nowiki>{{Dig|WP|Goatfish}}</nowiki>
 
<nowiki>{{Dig|WP|Goatfish}}</nowiki>
  
Line 12: Line 13:
 
{{Dig|WP|Goatfish}}
 
{{Dig|WP|Goatfish}}
  
</noinclude><includeonly><span style='background:#f0f0ff'>[//en.wikipedia.org/wiki/{{{2}}} To dig deeper: Wikipedia]</span></includeonly>
+
 
 +
 
 +
For a link to more detailed non-wikipedia article:
 +
 
 +
<nowiki>{{Dig|http://cachestocaches.com/2016/3/what-are-maxwells-equations/|Maxwell's equations}}</nowiki>
 +
 
 +
'''Shows as:'''
 +
 
 +
{{Dig|http://cachestocaches.com/2016/3/what-are-maxwells-equations/|Maxwell's equations}}
 +
 
 +
 
 +
 
 +
</noinclude><includeonly><span style='background:#f0f0ff'>To dig deeper: {{#ifeq:{{{1}}}|WP|[[wikipedia:{{{2}}}|Wikipedia]]|[{{{1}}} {{{2}}}]}}</span></includeonly>

Latest revision as of 21:24, 4 September 2020

Used for the 'dig deeper' link, usually at the top of the page


Example:

For a link to more detailed wikipedia article:

{{Dig|WP|Goatfish}}

Shows as:

To dig deeper: Wikipedia


For a link to more detailed non-wikipedia article:

{{Dig|http://cachestocaches.com/2016/3/what-are-maxwells-equations/|Maxwell's equations}}

Shows as:

To dig deeper: Maxwell's equations