The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
Difference between revisions of "Template:Samegame/doc"
From Unreal Wiki, The Unreal Engine Documentation Site
(New page: <noinclude>{{Documentation subpage}}</noinclude> This template generates a page link name for another page in the same namespace and with the same game name in parentheses, if available. I...) |
m (updated to reflect template changes) |
||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> | <noinclude>{{Documentation subpage}}</noinclude> | ||
− | This template generates a page link name for another page in the same namespace and with the same game name in parentheses, if available. It is used mostly on class description pages to avoid content duplication, e.g. between the UE2 Runtime, UT2003 and UT2004 class descriptions. | + | This template generates a page link name for another page in the same namespace and with the same game name in parentheses, if available. It is used mostly on class description pages to avoid content duplication, e.g. between the [[UE2 Runtime]], [[UT2003]] and [[UT2004]] class descriptions. |
==Usage== | ==Usage== | ||
− | A link to anchor " | + | A link to anchor "Usage" on page "Template:Infobox class" (this namespace!) with the text "Class Infobox": |
− | <pre>[[{{samegame| | + | <pre>[[{{samegame|Infobox class}}#Usage|Class Infobox]]</pre> |
− | [[{{samegame| | + | [[{{samegame|Infobox class}}#Usage|Class Infobox]] |
==See also== | ==See also== |
Revision as of 07:09, 18 April 2008
This template generates a page link name for another page in the same namespace and with the same game name in parentheses, if available. It is used mostly on class description pages to avoid content duplication, e.g. between the UE2 Runtime, UT2003 and UT2004 class descriptions.
Usage
A link to anchor "Usage" on page "Template:Infobox class" (this namespace!) with the text "Class Infobox":
[[{{samegame|Infobox class}}#Usage|Class Infobox]]