Difference between revisions of "Template:SemanticLink"

From GMOD
Jump to: navigation, search
 
Line 5: Line 5:
 
{{SemanticLink
 
{{SemanticLink
 
|linkurl=
 
|linkurl=
|linktitle=
+
|linktopic=
 
|linktype=
 
|linktype=
 
|linkdesc=
 
|linkdesc=
|linktopic=
+
|linktitle=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
'''linkurl:''' [[Has URL::{{{linkurl|}}}]]
+
'''Link URL:''' [[Has URL::{{{linkurl|}}}]]
  
'''linktitle:''' [[Has title::{{{linktitle|}}}]]
+
'''Link subject:''' [[Subject::{{{linktopic|}}}]]
  
'''linktype:''' [[Link type::{{{linktype|}}}]]
+
'''Link type:''' {{#arraymap:{{{linktype|}}}|,|x|[[Link type::x]]}}
  
'''linkdesc:''' [[Has description::{{{linkdesc|}}}]]
+
'''Link description:''' [[Has description::{{{linkdesc|}}}]]
  
'''linktopic:''' [[Has topic::{{{linktopic|}}}]]
+
'''Title:''' [[Has title::{{{linktitle|}}}]]
  
[[Category:]]
+
[[Category:SemanticLink]]
 
</includeonly>
 
</includeonly>

Revision as of 23:18, 1 October 2013

This is the "SemanticLink" template. It should be called in the following format:

{{SemanticLink
|linkurl=
|linktopic=
|linktype=
|linkdesc=
|linktitle=
}}

Edit the page to see the template text.