Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Difference between revisions of "Template:Samegame"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(New page: {{#if:{{ARTICLESPACE}}|{{ARTICLESPACE}}:}}{{{1}}}{{#if: {{#pos:{{PAGENAME}}|(}} |_{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|(}}|0}} }}{{#if:{{{2|}}}|#{{{2}}}}}<noinclude> {{documentation}} <...)
 
m (weird bug with # in if)
Line 1: Line 1:
{{#if:{{ARTICLESPACE}}|{{ARTICLESPACE}}:}}{{{1}}}{{#if: {{#pos:{{PAGENAME}}|(}} |_{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|(}}|0}} }}{{#if:{{{2|}}}|#{{{2}}}}}<noinclude>
+
{{#if:{{ARTICLESPACE}}|{{ARTICLESPACE}}:}}{{{1}}}{{#if:{{{2|}}}|{{#if:{{#pos:{{PAGENAME}}|(}}|_{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|(}}|0}}}}#{{{2}}}|{{#if:{{#pos:{{PAGENAME}}|(}}|_{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|(}}|0}}}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:48, 18 April 2008

Template:{{{1}}}

[edit] Documentation

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 UE2Runtime, 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