Cogito, ergo sum

Difference between revisions of "Template:Samegame/doc"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(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 "Anchor" on page "Page" with the text "Link text":
+
A link to anchor "Usage" on page "Template:Infobox class" (this namespace!) with the text "Class Infobox":
<pre>[[{{samegame|Page|Anchor}}|Link text]]</pre>
+
<pre>[[{{samegame|Infobox class}}#Usage|Class Infobox]]</pre>
[[{{samegame|Page|Anchor}}|Link text]]
+
[[{{samegame|Infobox class}}#Usage|Class Infobox]]
  
 
==See also==
 
==See also==

Revision as of 07:09, 18 April 2008

This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Samegame.

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]]

Class Infobox

See also