Template:Subpages9: Difference between revisions
imported>Chris Day (rv back to 3 aug) |
imported>Chris Day (remove gap) |
||
Line 66: | Line 66: | ||
| | | | ||
| (template talk page) }} }} }} }} }} }} | | (template talk page) }} }} }} }} }} }} | ||
|}</div> | |}</div>{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | ||
{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | | {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | ||
| <!--(Article)-->{{Checklist4|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status = {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked = {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by = {{{{BASEPAGENAME}}/Metadata|info=by}} }} {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved3|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}}}|{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} }} | | <!--(Article)-->{{Checklist4|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status = {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked = {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by = {{{{BASEPAGENAME}}/Metadata|info=by}} }} {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved3|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}}}|{{Checklist6|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|cluster= {{{{BASEPAGENAME}}/Metadata|info =cluster}}|article url= {{{{BASEPAGENAME}}/Metadata|info =article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info =subpage url}}|now= {{{{BASEPAGENAME}}/Metadata|info = now}}|date= {{{{BASEPAGENAME}}/Metadata|info = date}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info =ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info =ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info =ToA editor3}} }} }} |
Revision as of 18:17, 6 September 2007
Citizendium Technical Help | ||
---|---|---|
How to edit an article | Searching | Start article with subpages The Article Checklist | Subpage template |
|width=10% align=center style="background:#F5F5F5"| |}
Usage
Examples of this template's use can be found at the Chiropractic cluster (approved) and the New York City cluster (not approved).
How to use the {{subpages9}} template
1) Place {{subpages9}} at the top of every page in a cluster, including all talk pages and subpages.
2) For the subpages9 template to function correctly it is important to set up an additonal Metadata template for each article. This is easily done by cutting and pasting the following code to a generic template named Template:ARTICLENAME/Metadata.
{{#switch: {{{info}}} <!--Pagename must be filled out for template to work correctly--> | pagename = | dialect = <!--required for checklist --> | abc = | cat_check = | status = | underlinked = | cleanup = | by = | cat1 = | cat2 = | cat3 = <!--required for ToApprove template--> | article url = | subpage url = | cluster = | now = | ToA editor = | ToA editor2 = | ToA editor3 = | date = <!--required for Approved template--> | A editor = | A editor2 = | A editor3 = }}
The checklist parameters should be filled out in the usual way (see instructions below for a description of usage for all the fields in the metadata template.) Converting a current article is easily achived by cutting and pasting the parameters from the current checklist, that already exists on the talk page, to the new Metadata template for the article.
3) In addition to the checklist parameters it is also important to complete the pagename parameter. A warning note will pop up on the navigation template if this is not done.
4) Two other pages need to be created to complete the new cluster. An approval subpage and a Unused subpages list. A {{subpages9}} template should be placed at the top of both these pages. Neither of these pages are as important as the metadata template page and they could be created at a later date.
Parameters
General parameters
- pagename = The exact pagename is used. It is required for navigation back to the home page on subpages.
- dialect = will be used to designate the spelling and grammar, primarily whether the article is written in American or British English.
Checklist parameters
- abc = used to categorise based on last names. For example, the Barbara McClintock approval template is written as abc = McClintock, Barbara so she is categorised under M, or List of Biologists would be abc = Biologists, List of so it is categorised under B.
- cat_check = put "yes" if you want someone to check over the categories
- status = 0 for approved articles; 1 developed, 2 developing, 3 stub, 4 external
- underlinked = put "yes" if not enough other articles link to it (click "What links here" at left)
- cleanup = put "yes" if basic cleanup has been done.
- by = Names of anyone editing the checklist, in reverse chronological order.
- cat1 = must be an existing workgroup
- cat2 = second workgroup (optional but must use before group3 if only two workgroups)
- cat3 = third workgroup (optional)
ToApprove parameters
- Type of approval:
- Whole cluster use the article url and the cluster field.
- Article only use the article url and leave the cluster field blank.
- Subpage only us the subpage url field and leave the cluster field blank.
- Article and ONE subpage use both the article and subpage url fields but leave the cluster field blank.
- article url = the location in the page history where the version-to-approve lives.
- subpage url = the location in the page history where the version-to-approve lives.
- cluster = add text here if the whole cluster needs to be approved, otherwise leave blank.
- now = the date and time when the template is added. Use ~~~~~ (five tildes) to let the computer generate it automatically.
- ToA editor = the username of the person who did the approval (or who nominated the article on behalf of a group of people)
- ToA editor2 = second editor (optional field but must use before editor3 if only two editors approved)
- ToA editor3 = third editor (optional field)
- date = format yyyymmdd (typically three days after "now", to allow copyedits and suggestions)
Approved template
- A editor = the username of the person who initiated the approval (or who nominated the article on behalf of a group of people)
- A editor2 = second editor (optional field but must use before editor3 if only two editors approved)
- A editor3 = third editor (optional field)