Template:DiscussionConcernImporter: Difference between revisions
Appearance
imported>AW10 m Protected "Template:DiscussionConcernImporter" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
(No difference)
|
Latest revision as of 10:23, 18 October 2015
Documentation (for the above template or database, sometimes hidden or invisible)
Usage
Used for importing and helping with creation of "ESB:Discussion/<title>/Concern<num>" subpages. To include all current and future concerns in a discussion page, you just put this code at "Concerns" section of a discussion page: {{DiscussionConcernImporter}}.
Concept
Read the source code of this template like this:
if Concern1:
import Concern1
if Concern2:
import Concern2
if Concern3:
import Concern3
else:
create Concern3
else:
create Concern2
else:
create Concern1
Editing
If you want to edit the template, note that there are three different group of codes, "first", "middle" and "last", and that you need to create "Template:CreateNewConcernButton/Concern<num>" preload subpage for N pages that you import in the template.
Visit Template:DiscussionConcernImporter/doc to edit this text! (How does this work?)