Templates Wiki
Advertisement
Forums: Index Help desk Is it possible to collect content of an article that uses another template?
Note: This topic has been unedited for 7 years. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


Let's say we have a template A with a few variables a1,a2, a3, a4... and an article is using that template.

Now we'd like to build template B, so that it only has one variable b1 and when b1 is set to the article name. It will print out the content of variable a3 of that article.

Is it possible with Wikia?

A use case for this is when there are a few articles using the same template, and we want to only output part of each article / quick extraction to another article.

So instead of copy & paste the content from article A over (that may change overtime), we want just a slug that points to article A and that part of the article.

Advertisement