Difference between revisions of "Template:SemanticLink"
From GMOD
m (Fixing template) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the "SemanticLink" template. | + | This is the "SemanticLink" subobject template. |
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{SemanticLink | {{SemanticLink | ||
− | |linkurl= | + | |linkurl= // Has URL |
− | | | + | |linktitle= // Has title |
− | |linktype= | + | |linktype= // Link type |
− | |linkdesc= | + | |linkdesc= // Has description |
− | | | + | |linktopic= // Has topic - set to {{PAGENAME}} |
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly> | + | </noinclude><includeonly>{{#set: Has URL={{{linkurl|}}} | Has title={{{linktitle|}}} | Link type={{{linktype|}}} | Has description={{{linkdesc|}}} | Has topic={{PAGENAME}} }}{{#subobject: {{{linkurl}}} |
− | + | |linkurl={{{linkurl|}}} | |
− | + | |linktitle={{{linktitle|}}} | |
− | + | |linktype={{{linktype|}}} | |
− | + | |linkdesc={{{linkdesc|}}} | |
− | + | |linktopic={{PAGENAME}} | |
− | + | }}</includeonly> | |
− | + | ||
− | + | ||
− | + | ||
[[Category:SemanticLink]] | [[Category:SemanticLink]] | ||
− |
Latest revision as of 23:21, 1 October 2013
This is the "SemanticLink" subobject template. It should be called in the following format:
{{SemanticLink |linkurl= // Has URL |linktitle= // Has title |linktype= // Link type |linkdesc= // Has description |linktopic= // Has topic - set to {{PAGENAME}} }}
Edit the page to see the template text.