Jump to content

User:Sardanaphalus/Template:RMassist

From Wikipedia, the free encyclopedia

<!--

   Reminder: This template is substituted, so any code made live needs to be compressed.

--><includeonly><!--
  -->{{ {{{|safesubst:}}}require subst
      | template = RMassist
      | {{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}FULLPAGENAME }}|Wikipedia:Requested moves/Technical requests <!--
 then:-->|* {{anchor
             |movereq-{{{1}}}}} <!--
                  -->{{{{{|safesubst:}}}#ifexist:{{{1|}}} <!--
              then:-->| {{ {{{|safesubst:}}}#switch:{{ {{{|safesubst:}}}SUBJECTSPACE:{{{1}}} }}
                         | Category = {{error|[[Template:RMassist]] is not for categories; see [[Wikipedia:Categories for discussion]].}}
                         | File = {{error|[[Template:RMassist]] is not for files; see [[Wikipedia:Moving a page#Moving a file page]] (use [[Template:Rename media]] instead).}}
                         | #default = '''[[:{{{1}}}]] → {{{{{|safesubst:}}}#if:{{{2|}}} |{{no redirect|{{{2}}}}}'''<!--

                              -->{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Requested moves/Technical requests <!--
                          then:-->| <span class="plainlinks" style="font-size:95%;"><!--
                                      move:-->([{{fullurl:Special:MovePage
                                                 |wpOldTitle={{urlencode:{{{1}}}}}<!--
                                                  -->&wpNewTitle={{urlencode:{{{2}}}}}<!--
                                                  -->&wpReason={{urlencode:Requested at [[WP:RM]] as uncontroversial ([[Special:Permalink/{{REVISIONID}}|permalink]])}}<!--
                                                  -->&wpMovetalk=1<!--
                                             -->}} move]{{int:dot-separator}}<!--
                                    discuss:-->[{{fullurl:{{TALKPAGENAMEE:{{{1}}}}}
                                                 |action=edit<!--
                                                  -->&editintro=Template:RMassist/editintro&section=new<!--
                                                  -->&preloadtitle={{urlencode:Requested move {{{{{|safesubst:}}}#time:d F Y|{{{{{|safesubst:}}}CURRENTTIMESTAMP}} }}}}<!--
                                                  -->&preload=Template:RMassist/preload<!--
                                                  -->&preloadparams%5b%5d={{urlencode:{{{2}}}}}<!--
                                                  -->&preloadparams%5b%5d={{urlencode:{{{{{|safesubst:}}}#if:{{{3|}}} |{{{3}}} |Please put your reason for moving here.}}}}<!--
                                                  -->&preloadparams%5b%5d={{urlencode: – ~~<noinclude/>~~}}<!--
                                                  -->&preloadparams%5b%5d={{REVISIONID}}<!--
                                             -->}} discuss])<!--
                                      --></span><!--
                          else:-->| ([{{fullurl:Wikipedia:Requested moves/Technical requests#{{anchorencode:movereq-{{{1}}}}}}} move (@subpage)])<!--
                              -->}}<!--(end #ifeq:FULLPAGENAME)

                              --> – {{{{{|safesubst:}}}#if:{{{3|}}} |{{{3}}} |Please put your reason for moving here.<!--
                     -->}}<!--(end #switch)

              else:-->| {{error|Must specify a destination to move [[:{{{1}}}]] to.}}{{{{{|safesubst:}}}#if:{{{3|}}} |– {{{3}}} |}}<!--
                  -->}}<!--(end #ifexist)
         -->}}<!--(end anchor)

 else:-->| {{error|Must create [[:{{{1}}}]] before requesting that it be moved to {{no redirect|{{{2}}}}}.}}{{{{{|safesubst:}}}#if:{{{3|}}} |– {{{3}}} |}}<!--
     -->}}<!--(end #ifeq:FULLPAGENAME)
     --> – ~~<noinclude/>~~ <!--

   -->| {{error|[[Template:RMassist]] must be used on [[Wikipedia:Requested moves/Technical requests]]}}<!--
  -->}}<!--(end require subst)
--></includeonly><noinclude>
{{Documentation}}
</noinclude>