Difference between revisions of "Template:Actalk/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andrewcrawford
(test)
blackwiki>Andrewcrawford
(testing new code)
Line 1: Line 1:
 
<!--  
 
<!--  
 
   Add your experimental template code here  
 
   Add your experimental template code here  
-->{{#ifexpr: {{{p|}}} | {{#switch: {{lc:{{{p|}}}}}
+
-->{{#switch: {{lc:{{{1}}}}}
 
|3rr=[[wp:3RR|3RR]]
 
|3rr=[[wp:3RR|3RR]]
 
|or=[[wp:OR|Original Research]]
 
|or=[[wp:OR|Original Research]]
Line 7: Line 7:
 
|rs=[[wp:RS|Reliable Source]]
 
|rs=[[wp:RS|Reliable Source]]
 
|rss=[[wp:RS|Reliable Sources]]
 
|rss=[[wp:RS|Reliable Sources]]
{{#if:{{{1}}}||Talk page edit by Drmargi on behalf of [[User:Andrewcrawford/disclaimer|Andrewcrawford]]}}
+
|Talk page edit by Drmargi on behalf of [[User:Andrewcrawford/disclaimer|Andrewcrawford]]
}} | {{#switch: {{lc:{{{1}}}}}
+
}} {{#switch: {{lc:{{{p|}}}}}
 
|3rr=[[wp:3RR|3RR]]
 
|3rr=[[wp:3RR|3RR]]
 
|or=[[wp:OR|Original Research]]
 
|or=[[wp:OR|Original Research]]
Line 14: Line 14:
 
|rs=[[wp:RS|Reliable Source]]
 
|rs=[[wp:RS|Reliable Source]]
 
|rss=[[wp:RS|Reliable Sources]]
 
|rss=[[wp:RS|Reliable Sources]]
{{#if:{{{1}}}||Talk page edit by Drmargi on behalf of [[User:Andrewcrawford/disclaimer|Andrewcrawford]]}}
+
|Talk page edit by Drmargi on behalf of [[User:Andrewcrawford/disclaimer|Andrewcrawford]]
}}
 
 
}} <noinclude>
 
}} <noinclude>
 
{{doc}}</noinclude>
 
{{doc}}</noinclude>

Revision as of 14:09, 10 July 2012

Talk page edit by Drmargi on behalf of Andrewcrawford Talk page edit by Drmargi on behalf of Andrewcrawford

Template documentation[view] [edit] [history] [purge]

The propose of this template is to make outputting of Wikipedia policy without having to write it out in full so you use short hand way to output the policy you require.

Usage

Use {{actalk|p=}}.

Example:

{{actalk|p=or}}

produces:

Original Research

Current Policies

Current policies that can be outputted are:
or or OR outputs original research policy link
3rr or 3RR outputs 3 revert rule policy link
rfc or RFC outputs request for comment policy link
rs or RS or rss or RSS outputs reliable source using rs or RS and reliable sources using rss or RSS policy link

Current known bugs

None currently

Testing

Sandbox
Test Cases