Template talk:Subpage style: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 99: | Line 99: | ||
|style="background-color: #cccccc"| || | |style="background-color: #cccccc"| || | ||
|} | |} | ||
==Todo== | |||
*Need to have a comparison check on all the fields. For example, article name must equal pagename field. Approving editor field must be blank if status is one. Or if it is approved then status must be one. etc. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 12:19, 18 October 2007 (CDT) |
Revision as of 12:19, 18 October 2007
checklist poisons the subpages function
Checklist 66 seems to interfere with the function of the subpages template on the subsubpage. Chris Day (talk) 03:37, 6 October 2007 (CDT)
checklist66
{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:Articles to Approve]] {{#if:{{{group2|}}} |{{#if:{{{group3|}}} |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]][[Category:{{{group3}}} to Approve]] |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]]}} |[[Category:{{{group}}} to Approve]]}} |}} {{{!}}class=noprint width=95% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #eeeeee; border-collapse:collapse" {{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left|50px]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!-- ***This determines what is up for approval; the whole cluster, a subpage, the article or both.*** -->{{#if:{{{cluster|}}} |has nominated the whole '''{{BASEPAGENAME}} Cluster''' for approval including [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as all the subpages. |{{#if:{{{article url|}}} |{{#if:{{{subpage url|}}} |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as [{{{subpage url}}} one subpage] for approval. |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of this article for approval.}} |{{#if:{{{subpage url|}}} |has nominated [{{{subpage url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of a subpage in this cluster for approval. |will be nominating this article for approval in the near future. }} }} }} <!-- ***This code adds the approval editors names, upto four can be added.*** -->{{#if:{{{ToA editor2|}}} |{{#if:{{{ToA editor3|}}} |Two other editors currently support the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]] and [[User:{{{ToA editor3}}}|{{{ToA editor3}}}]]). |One other editor currently supports the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]]).}} |Other editors may also sign to support approval.}} <!-- ***This code adds the workgroup names, upto three can be used from the metadata page.*** -->The {{#if:{{{group}}} |{{#if:{{{group2|}}} |{{#if:{{{group3|}}} |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]], [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] and [[CZ:{{{group3}}} Workgroup|{{{group3}}} Workgroup]] are |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] and [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] are}} |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is}} |an unknown workgroup is}} overseeing this approval. <!-- ***This code adds the date for approval unless no url has been specificed.*** -->{{#if:{{{cluster|}}} |Unless this notice is removed, the article will be approved on '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' |{{#if:{{{article url|}}} |Unless this notice is removed, the article will be approved on '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' |{{#if:{{{subpage url|}}} |Unless this notice is removed, the article will be approved on '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.''' |}} }} }} {{!}}}
test
{{{basepagename|}}} | {{{basepagename}}} | {{{fullpagename|}}} | {{{fullpagename}}} | {{{pagename|}}} | {{{pagename}}} |
{{{name|}}} | {{{name}}} | {{{subpagename|}}} | {{{subpagename}}} | {{{namespace|}}} | {{{namespace}}} |
{{{type|}}} | {{{type}}} | {{{pagename}}} | {{{pagename}}} | {{{variant}}} | {{{variant}}} |
{{{abc}}} | {{{abc}}} | {{{cat_check}}} | {{{cat_check}}} | {{{status}}} | {{{status}}} |
{{{underlinked}}} | {{{underlinked}}} | {{{cleanup}}} | {{{cleanup}}} | {{{by}}} | {{{by}}} |
{{{group}}} | {{{group}}} |
{{SUBPAGENAME}} | Subpage style | {{FULLPAGENAME}} | Template talk:Subpage style | {{BASEPAGENAME}} | Subpage style |
{{PAGENAME}} | Subpage style | [[/]] | Template talk:Subpage style/ | [[../]] | [[../]] |
[[../../]] | [[../../]] | {{/}} | Template talk:Subpage style/ | {{../}} | {{../}} |
{{../../}} | {{../../}} | {{NAMESPACE}} | Template talk |