Edit source Talk

Template:Content used

From Appropedia
Content from this original document is used in {{{1}}}. Also check what links here.



Usage[edit source]

To be placed on original content pages.

List all pages that use content from the page in the argument. Usually this is only one page, e.g.:

{{Content used|[[Graywater]]}}

creates:

Content from this original document is used in Graywater. Also check what links here.



Sometimes, however, there might be a number of pages. E.g.:

{{Content used|[[Rainwater]], [[Water supply]] and [[Desalination]]}}

creates:

Content from this original document is used in Rainwater, Water supply and Desalination. Also check what links here.



Problems[edit source]

As these are on the protected original content pages, ordinary users can't edit them.

A way of solving this (though still not as elegant as being able to edit it directly, and more prone to misunderstandings by editors) is to make the page take its argument from the content of an "argument page", [[{{NAMESPACE}}:{{PAGENAME}}/content used]]. The template then would have an "edit" link to, to edit the (unprotected) argument page. (The other problem with this is that an admin has to put the template on the protected page first - but if there is nothing on the argument page yet, then the template will not display as it should.

Is there a more elegant solution?

[{Category:Notice templates]] <//noinclude>
https://www.appropedia.org/Template:Content_used
www.appropedia.org
crawl=CC-MAIN-2021-21
30586
application/http; msgtype=response
sha1:DCCVPAXVQFAOYN452W3RIPABVJSCPJ2G
<urn:uuid:a531a9bd-bfd8-4cb2-bbb5-80da2cab0646>
2021-05-16T16:24:13Z
104.20.167.126
text/html
sha1:T46FQUB7O34EXMZALLFGR4AIUQJGPPWB
<urn:uuid:5bd74c22-ac37-4524-9e26-c88f0d41c6c0>
https://www.appropedia.org/Template:Content_used
response
<urn:uuid:fa633ef6-d1a2-44f9-bc21-3ee98819f40a>
isPartOf: CC-MAIN-2021-21
publisher: Common Crawl
description: Wide crawl of the web for May 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-204.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/