Forum:Report template

Hello, anyone knows a way to let a template automatically edit another page? For example, by adding a template to a page (or by met some conditions) the template will add a text (or make some kind of edits) to another page. I know it's odd, because the simplest way is adding the page to a category through the template, but it's not really the same thing. So is there a way to do that or is currently impossible with the wiki code? 20:39, July 7, 2011 (UTC)


 * Not exactly sure what you want to do, but see Help:Preloaded templates and maybe it will do what you want. Please give a link to where you're experimenting so maybe we can see how it is going and help out. -- Fandyllic (talk &middot; contr) 7 Jul 2011 2:12 PM Pacific
 * Wouldn't a simple link work?
 * Of course you could make it more fancy and the http:.... up to the title= plus the &action=edit could be inside the template, that way the person editing would only need to supply the page name.
 * 21:19, July 7, 2011 (UTC)
 * 21:19, July 7, 2011 (UTC)
 * 21:19, July 7, 2011 (UTC)


 * I beleive OP wants to make & save a change in article A simply by adding a template to article B. If that's the case, then according to my knowledge it's impossible, certainly not with just wiki-markup. You can transclude parts or entire articles to another article - that's the closest thing to what I understand you want. — Sovq 21:30, July 7, 2011 (UTC)

Yes, thought so. My objective is basically the reverse of a transclusion: let's say, I add the template "report" to this page and then this page name (or another text) will appear in the page B, for example a subpage to my talk page. Well thanx anyway, I thought maybe there was a solution I couldn't think of. 21:41, July 7, 2011 (UTC)
 * Well... If you add to page A, then the page Category:page_B will have the name of the page where you added it (page A).
 * You may be over thinking it. ;)
 * 22:48, July 7, 2011 (UTC)
 * You may be over thinking it. ;)
 * 22:48, July 7, 2011 (UTC)
 * 22:48, July 7, 2011 (UTC)


 * There are ways to include parts of page A to page B, using either the DPL extension or Semantic MediaWiki. But both of them require you to edit article B at least once, to define what the article is supposed to include.


 * See this article (article B) for example. Every time an article gets created (article A) which uses Template:Item and the itemtype2 parameter in that template is defined as "Grenade", then the summary table (article B) gets automatically updated with the data from article A. But article B had to be edited, at least once, to define what content it is to derive from all the 'Grenade' articles. — Sovq 07:17, July 8, 2011 (UTC)