Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template talk:SlashCommandArticle"

From Paragon Wiki Archive
Jump to: navigation, search
(Inclusion)
 
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
Isn't there a way to include a template in another template, just adding more options and text?
 
Isn't there a way to include a template in another template, just adding more options and text?
  
In this case, [[:Template:SlashCommand]] and [[:Template:SlashCommandArticle]] are identical except for the inclusion of [[:Category:Slash Commands]] in the latter. Could we make it so that SlashCommandArticle uses SlashCommand and adds Category:Slash Commands to the end?
+
In this case, [[:Template:SlashCommand]] and [[:Template:SlashCommandArticle]] are identical except for the inclusion of [[:Category:Slash Commands]] in the latter. Could we make it so that SlashCommandArticle uses SlashCommand and adds Category:Slash Commands to the end? --[[User:Konoko|Konoko]] 23:35, 28 November 2006 (PST)
 +
 
 +
: I believe I did what you want.  Any change to {{Tl|SlashCommand}} will be reflected in {{Tl|SlashCommandArticle}}.  {{User:StarGeek/sig}} 17:50, 30 November 2006 (PST)
 +
 
 +
::[http://paragonwiki.com/w/index.php?title=Petcom nope]. There's gotta be a way to pass arguments down to the next template through another template. Like a pipe in terminal windows (dos, bash, whatever)--[[User:Konoko|Konoko]] 18:25, 30 November 2006 (PST)
 +
 
 +
::: (smacks head) oh, I get it now.  I wasn't paying attention.  It's what I do for the various enemy link templates (see {{tl|Enemy Crey}} for example, it just calls {{Tl|Enemy Link}}, passing the size value on or the default size). {{User:StarGeek/sig}} 19:52, 30 November 2006 (PST)

Latest revision as of 03:52, 1 December 2006

Inclusion

Isn't there a way to include a template in another template, just adding more options and text?

In this case, Template:SlashCommand and Template:SlashCommandArticle are identical except for the inclusion of Category:Slash Commands in the latter. Could we make it so that SlashCommandArticle uses SlashCommand and adds Category:Slash Commands to the end? --Konoko 23:35, 28 November 2006 (PST)

I believe I did what you want. Any change to {{SlashCommand}} will be reflected in {{SlashCommandArticle}}. -- StarGeekTalk page 17:50, 30 November 2006 (PST)
nope. There's gotta be a way to pass arguments down to the next template through another template. Like a pipe in terminal windows (dos, bash, whatever)--Konoko 18:25, 30 November 2006 (PST)
(smacks head) oh, I get it now. I wasn't paying attention. It's what I do for the various enemy link templates (see {{Enemy Crey}} for example, it just calls {{Enemy Link}}, passing the size value on or the default size). -- StarGeekTalk page 19:52, 30 November 2006 (PST)