Шаблон:Link
This template combines {{ExternalLink}} and {{HashLink}} under one entrypoint. It also adds the page to the Link template usage error category on usage error.
This template is used on these pages.
Usage
{{Link{{#if:link | |link}}{{#if:text | |text}}{{#if: | |{{{param3}}}}}{{#if: | |{{{param4}}}}}{{#if: | |{{{param5}}}}}}} {{#if:link|
- link{{#if:(possibly named parameter) the URL or the local link, hashed or not (Operation Flashpoint#Introduction)|: (possibly named parameter) the URL or the local link, hashed or not (Operation Flashpoint#Introduction)}}
}}{{#if:text|
- text{{#if:(Optional, possibly named parameter) text to be displayed|: (Optional, possibly named parameter) text to be displayed}}
}}{{#if:|
- {{{param3}}}{{#if:|: }}
}}{{#if:|
- {{{param4}}}{{#if:|: }}
}}{{#if:|
- {{{param5}}}{{#if:|: }}
}}{{#if:|
- {{{param6}}}{{#if:|: }}
}}{{#if:|
- {{{param7}}}{{#if:|: }}
}}{{#if:|
- {{{param8}}}{{#if:|: }}
}}{{#if:|
- {{{param9}}}{{#if:|: }}
}}{{#if:|
- {{{param10}}}{{#if:|: }}
}}
{{#if:{{Link}}{{Link|http://}}{{Link|link= http://ofp.gamepark.cz/index.php?showthis=2302}}{{Link|setDir}}{{Link|setDir#notes}} |
Code | Result | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Link}} | {{#if: | ://}} | {{#if: {{{1}}} |
{{#if: {{#pos:{{{1}}}|web.archive.org}} |
{{#if: |
|_}} ] | |_}}
}} (archive) |
{{#if: {{#pos:{{{1}}}|ofp.gamepark.cz}} {{#pos:{{{1}}}|ofp.gamepark.eu}} {{#pos:{{{1}}}|ofp.gamezone.cz}} {{#pos:{{{1}}}|ofp.info}} {{#pos:{{{1}}}|ofpr.info/ofpd/}} {{#pos:{{{1}}}|ftp://ofpr.info}} {{#pos:{{{1}}}|ftp://ftp.ofpr.info}} {{#pos:{{{1}}}|ftp://www.ofpr.info}} |
[https://ofp-faguss.com/addonsearch.php?searchfor=%7B%7B%7B1%7D%7D%7D {{#if: | ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:{{{1}}}|armaholic.com}} {{#pos:{{{1}}}|armedassault.com}} {{#pos:{{{1}}}|dev-heaven.net}} {{#pos:{{{1}}}|flashpoint1985.com}} |
' (dead link)|-dead link-}} |
{{#if: |
|_}} ] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
}}|#}}| | [[{{#if:|{{{2}}}}}]] | {{#if:{{{1}}} | [[{{{1}}}|{{#if: | {{{1}}}}}|#}}|0 | {{{1}}}}}|1}}|#|#}} | {{{1}}}}}|#|0|0|2}}|:Category:|}} - {{#explode:{{#if:{{{1}}}|{{{1}}}}}|#|1|2}}
}}}}]] |
-no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
{{Link|http://}} | {{#if:http:// | ://}} | {{#if: http:// |
{{#if: {{#pos:http://%7Cweb.archive.org}} |
{{#if: |
|_}} ] | |_}}
}} (archive) |
{{#if: {{#pos:http://%7Cofp.gamepark.cz}} {{#pos:http://%7Cofp.gamepark.eu}} {{#pos:http://%7Cofp.gamezone.cz}} {{#pos:http://%7Cofp.info}} {{#pos:http://%7Cofpr.info/ofpd/}} {{#pos:http://%7Cftp://ofpr.info}} {{#pos:http://%7Cftp://ftp.ofpr.info}} {{#pos:http://%7Cftp://www.ofpr.info}} |
[https://ofp-faguss.com/addonsearch.php?searchfor=http%3A%2F%2F {{#if: | ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:http://%7Carmaholic.com}} {{#pos:http://%7Carmedassault.com}} {{#pos:http://%7Cdev-heaven.net}} {{#pos:http://%7Cflashpoint1985.com}} |
' (dead link)|-dead link-}} |
{{#if: |
|_}} ] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
http://}}%7C#}}%7C | [[1]] | {{#if:http:// | [[http://%7C{{#if: | http://}}%7C#}}%7C0 | http://}}%7C1}}%7C#%7C#}} | http://}}%7C#%7C0%7C0%7C2}}%7C:Category:%7C}} - {{#explode:{{#if:http://%7Chttp://}}%7C#%7C1%7C2}}
}}}}]] |
-no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
{{Link|link= http://ofp.gamepark.cz/index.php?showthis=2302}} | {{#if:http://ofp.gamepark.cz/index.php?showthis=2302 | ://}} | {{#if: http://ofp.gamepark.cz/index.php?showthis=2302 |
{{#if: {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cweb.archive.org}} |
{{#if: |
|_}} ] | |_}}
}} (archive) |
{{#if: {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cofp.gamepark.cz}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cofp.gamepark.eu}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cofp.gamezone.cz}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cofp.info}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cofpr.info/ofpd/}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cftp://ofpr.info}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cftp://ftp.ofpr.info}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cftp://www.ofpr.info}} |
[https://ofp-faguss.com/addonsearch.php?searchfor=http%3A%2F%2Fofp.gamepark.cz%2Findex.php%3Fshowthis%3D2302 {{#if: | ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Carmaholic.com}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Carmedassault.com}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cdev-heaven.net}} {{#pos:http://ofp.gamepark.cz/index.php?showthis=2302%7Cflashpoint1985.com}} |
' (dead link)|-dead link-}} |
{{#if: |
|_}} ] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
http://ofp.gamepark.cz/index.php?showthis=2302}}%7C#}}%7C | [[2]] | {{#if:http://ofp.gamepark.cz/index.php?showthis=2302 | [[http://ofp.gamepark.cz/index.php?showthis=2302%7C{{#if: | http://ofp.gamepark.cz/index.php?showthis=2302}}%7C#}}%7C0 | http://ofp.gamepark.cz/index.php?showthis=2302}}%7C1}}%7C#%7C#}} | http://ofp.gamepark.cz/index.php?showthis=2302}}%7C#%7C0%7C0%7C2}}%7C:Category:%7C}} - {{#explode:{{#if:http://ofp.gamepark.cz/index.php?showthis=2302%7Chttp://ofp.gamepark.cz/index.php?showthis=2302}}%7C#%7C1%7C2}}
}}}}]] |
-no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
{{Link|setDir}} | {{#if:setDir | ://}} | {{#if: setDir |
{{#if: {{#pos:setDir|web.archive.org}} |
{{#if: |
|_}} ] | |_}}
}} (archive) |
{{#if: {{#pos:setDir|ofp.gamepark.cz}} {{#pos:setDir|ofp.gamepark.eu}} {{#pos:setDir|ofp.gamezone.cz}} {{#pos:setDir|ofp.info}} {{#pos:setDir|ofpr.info/ofpd/}} {{#pos:setDir|ftp://ofpr.info}} {{#pos:setDir|ftp://ftp.ofpr.info}} {{#pos:setDir|ftp://www.ofpr.info}} |
[https://ofp-faguss.com/addonsearch.php?searchfor=setDir {{#if: | ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:setDir|armaholic.com}} {{#pos:setDir|armedassault.com}} {{#pos:setDir|dev-heaven.net}} {{#pos:setDir|flashpoint1985.com}} |
' (dead link)|-dead link-}} |
{{#if: |
|_}} ] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
setDir}}|#}}| | [[setDir{{#if:|{{{2}}}}}]] | {{#if:setDir | {{#if: | setDir}}|#}}|0 | setDir}}|1}}|#|#}} | setDir}}|#|0|0|2}}|:Category:|}} - {{#explode:{{#if:setDir|setDir}}|#|1|2}} }}}} | -no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
{{Link|setDir#notes}} | {{#if:setDir#notes | ://}} | {{#if: setDir#notes |
{{#if: {{#pos:setDir#notes|web.archive.org}} |
{{#if: |
|_}} ] | |_}}
}} (archive) |
{{#if: {{#pos:setDir#notes|ofp.gamepark.cz}} {{#pos:setDir#notes|ofp.gamepark.eu}} {{#pos:setDir#notes|ofp.gamezone.cz}} {{#pos:setDir#notes|ofp.info}} {{#pos:setDir#notes|ofpr.info/ofpd/}} {{#pos:setDir#notes|ftp://ofpr.info}} {{#pos:setDir#notes|ftp://ftp.ofpr.info}} {{#pos:setDir#notes|ftp://www.ofpr.info}} |
[https://ofp-faguss.com/addonsearch.php?searchfor=setDir%23notes {{#if: | ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:setDir#notes|armaholic.com}} {{#pos:setDir#notes|armedassault.com}} {{#pos:setDir#notes|dev-heaven.net}} {{#pos:setDir#notes|flashpoint1985.com}} |
' (dead link)|-dead link-}} |
{{#if: |
|_}} ] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
setDir#notes}}|#}}| | [[setDir#notes{{#if:|{{{2}}}}}]] | {{#if:setDir#notes | {{#if: | setDir#notes}}|#}}|0 | setDir#notes}}|1}}|#|#}} | setDir#notes}}|#|0|0|2}}|:Category:|}} - {{#explode:{{#if:setDir#notes|setDir#notes}}|#|1|2}} }}}} | -no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
{{Link|setDir#notes|setDir and nothing else}} | {{#if:setDir#notes | ://}} | {{#if: setDir#notes |
{{#if: {{#pos:setDir#notes|web.archive.org}} |
{{#if: setDir and nothing else |
|_}} setDir and nothing else] | |_}}
}} (archive) |
{{#if: {{#pos:setDir#notes|ofp.gamepark.cz}} {{#pos:setDir#notes|ofp.gamepark.eu}} {{#pos:setDir#notes|ofp.gamezone.cz}} {{#pos:setDir#notes|ofp.info}} {{#pos:setDir#notes|ofpr.info/ofpd/}} {{#pos:setDir#notes|ftp://ofpr.info}} {{#pos:setDir#notes|ftp://ftp.ofpr.info}} {{#pos:setDir#notes|ftp://www.ofpr.info}} |
setDir and nothing else|ofpr.info link}}] link courtesy of OFP-Faguss.com |
{{#if: {{#pos:setDir#notes|armaholic.com}} {{#pos:setDir#notes|armedassault.com}} {{#pos:setDir#notes|dev-heaven.net}} {{#pos:setDir#notes|flashpoint1985.com}} |
setDir and nothing else (dead link)|-dead link-}} |
{{#if: setDir and nothing else |
|_}} setDir and nothing else] | |_}}
}} }} }} }} |
-no links defined-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} |
setDir#notes}}|#}}| | [[setDir#notes{{#if:setDir and nothing else|setDir and nothing else}}]] | {{#if:setDir#notes | {{#if:setDir and nothing else | setDir and nothing else | setDir#notes}}|#}}|0 | setDir#notes}}|1}}|#|#}} | setDir#notes}}|#|0|0|2}}|:Category:|}} - {{#explode:{{#if:setDir#notes|setDir#notes}}|#|1|2}} }}}} | -no link specified-
}} }} }} |
-no link provided-{{#ifeq:ШАБЛОН|TEMPLATE | }}
}} | ||
}}
{{#ifeq: ШАБЛОН:LINK | TEMPLATE:DOC/TEMPLATE | | }}