Template:Sceneryweb url: Difference between revisions

Support for the tag parameter.
(Switch the 'site' parameter to use the {{project infrastructure/code}} subtemplate.)
(Support for the tag parameter.)
Line 9: Line 9:
| repo                                          = sceneryweb
| repo                                          = sceneryweb
| branch                                        = {{{branch|{{{b|master}}}}}}
| branch                                        = {{{branch|{{{b|master}}}}}}
| tag{{#if:{{{tag|}}}||NULL}}                  = {{{tag}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| path{{#if:{{{path|{{{f|{{{1|}}}}}}}}}||NULL}} = {{{path|{{{f|{{{1}}}}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}    = {{{commit|{{{c}}}}}}
| commit{{#if:{{{commit|{{{c|}}}}}}||NULL}}    = {{{commit|{{{c}}}}}}
Line 35: Line 36:
}}
}}


=== File and a tag ===
=== File and a branch ===
  {{obr}}sceneryweb url
  {{obr}}sceneryweb url
  {{!}} path  = WWW/scenemodels/submission/index.php
  {{!}} path  = WWW/scenemodels/submission/index.php
  {{!}} branch = before-server-move
  {{!}} branch = master
  {{cbr}}
  {{cbr}}


{{sceneryweb url
{{sceneryweb url
| path  = WWW/scenemodels/submission/index.php
| path  = WWW/scenemodels/submission/index.php
| branch = before-server-move
| branch = master
}}
 
=== File and a tag ===
{{obr}}sceneryweb url
{{!}} path = WWW/scenemodels/submission/index.php
{{!}} tag  = before-server-move
{{cbr}}
 
{{sceneryweb url
| path = WWW/scenemodels/submission/index.php
| tag  = before-server-move
}}
}}