Template:Doc/parent2

From RailTopoModel® Wiki
< Template:Doc
Revision as of 20:06, 17 March 2025 by Ferri Leberl (talk | contribs) (Created page with "<includeonly><noinclude> First ifeq: If there is no parent, do nothing </noinclude>{{#ifeq:{{{1|}}}|||<noinclude> If this is wiki2 and the link does not go to wiki3, place the parent </noinclude>{{#ifeq:{{thiswiki}}|wiki2|{{#ifeq:{{{2|}}}|3||_{{{1}}}}}}}<noinclude> If this is wiki3 and the link goes to wiki2, place the parent </noinclude>{{#ifeq:{{thiswiki}}|wiki3|{{#ifeq:{{{2|}}}|2|_{{{1}}}}}}}<noinclude> If this is the rtm Wiki and the link does not go to wiki3, place...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Template supporting Template:Doc. Fits the parent to the respective wiki.

Arguments

Examples

{{doc/parent2}}

returns:


{{doc/parent2|signalIS}}

returns:

_signalIS

{{doc/parent2|signalIS|2}}

returns:

_signalIS

{{doc/parent2|signalIS|3}}

returns:


{{doc/parent3|2=2}}

returns:


{{doc/parent3|2=3}}

returns: