Template:DraftPolicy: Difference between revisions

From PS:1 Wiki Dev
Jump to navigationJump to search
Content deleted Content added
Morrand (talk | contribs)
Created. Hope it's useful.
 
Morrand (talk | contribs)
m Adding params.
 
Line 1: Line 1:
{{Ambox
{{Ambox
|name=DraftPolicy
|subst=<includeonly>{{subst:substcheck}}</includeonly>
|small=no
|type=notice
|type=notice
|text=This is a '''draft''' policy that is open for discussion. It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its [[{{TALKPAGENAME}}|talk page.]]}}
|issue=This is a '''draft''' policy that is open for discussion.
|fix=It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its [[{{TALKPAGENAME}}|talk page.]]
|all=Draft Policies}}

Latest revision as of 02:46, 18 January 2021

{{#ifeq:|SUBST

|{{#if:DraftPolicy
 |Template:Error
}}

}}{{Ambox/{{#ifeq:no|left|small|core}}

|type = notice
|image = 
|smallimage = {{#if:|{{{smallimage}}}|}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |speedy = speedy
 |delete = delete
 |warning = warning
 |content = content
 |style = style
 |move = move
 |protection = protection
 |notice|#default = notice
}} 
|style = 
|textstyle  = 
|smalltext  = 
|talk = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:Template:FULLROOTPAGENAME|Template:DraftPolicy|#}}
 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}} This is a draft policy that is open for discussion. 
|fix = It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its talk page.
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:Template:FULLROOTPAGENAME|Template:DraftPolicy|April 2026}}
 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   Template:Basepage subpage
 | only = 
   Template:Basepage subpage
 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:DraftPolicy }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |  {{#if:
|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:Draft Policies

|

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}

   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | other | #default =

}}

   | 
     {{#iferror: {{#expr: 1 + {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = {{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:Draft Policies

|

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:DraftPolicy

 |Template:DraftPolicy = {{#ifexpr:{{#ifeq:This is a draft policy that is open for discussion.|¬|1|0}}+{{#ifeq:It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its talk page.|¬|1|0}}+{{#ifeq:|¬|1|0}}
  |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:This is a draft policy that is open for discussion.|¬|1|0}}+{{#ifeq:It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its talk page.|¬|1|0}}+{{#ifeq:|¬|1|0}}}}]]
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:DraftPolicy|DraftPolicy|}}
}}

| help = | category = | book = | extension = | other | #default =

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = {{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:Draft Policies

|

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:DraftPolicy

 |Template:DraftPolicy = {{#ifexpr:{{#ifeq:This is a draft policy that is open for discussion.|¬|1|0}}+{{#ifeq:It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its talk page.|¬|1|0}}+{{#ifeq:|¬|1|0}}
  |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:This is a draft policy that is open for discussion.|¬|1|0}}+{{#ifeq:It does not represent an official policy of Pumping Station: One. You can edit this policy or make comments on its talk page.|¬|1|0}}+{{#ifeq:|¬|1|0}}}}]]
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:DraftPolicy|DraftPolicy|}}
}}

| help = | category = | book = | extension = | other | #default =

}} | }}

   }}
 }}

}}