This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:Link: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Admin
adding temporary category to catch links that don't need to be using this template
imported>Ryangibsonstewart
this template is made for theory namespace, so i'm excluding the category from those pages
Line 1: Line 1:
{{#ifexist:{{{1}}}|[[{{{1}}}{{pipe}}{{{text|{{{1}}}}}}]][[Category:Pages using Link template unnecessarily]]|{{{text|{{{1}}}}}}}}<noinclude>
{{#ifexist:{{{1}}}|[[{{{1}}}{{pipe}}{{{text|{{{1}}}}}}]]{{#ifeq:{{NAMESPACE}}|Theory||[[Category:Pages using Link template unnecessarily]]}}|{{{text|{{{1}}}}}}}}<noinclude>
==Usage==
==Usage==
This template returns either a link for an article if said article exists, or else just the text entered.
This template returns either a link for an article if said article exists, or else just the text entered.
Line 5: Line 5:


Used for theory pages, since some theories do not have base articles.
Used for theory pages, since some theories do not have base articles.



[[Category:Link Templates]]
[[Category:Link Templates]]

Revision as of 14:29, 1 September 2008

{{{1}}}

Usage

This template returns either a link for an article if said article exists, or else just the text entered.

{{link|<!--text to possibly become a link-->|text= <!-- OPTIONAL text override -->}}

Used for theory pages, since some theories do not have base articles.