Difference between revisions of "Template:Sec link auto"
From Self-sufficiency
(Renaming parameter "image=yes/no" to "padlock=yes/no" since that is clearer.) |
m (11 revisions from wikipedia:Template:Sec link auto) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
| yes <!--Supress CSS icon, to not get double icon--> | | yes <!--Supress CSS icon, to not get double icon--> | ||
| no = <span class="plainlinks"> | | no = <span class="plainlinks"> | ||
− | }}[ | + | }}[{{sec link/secure url |
− | | | + | | project = {{{1|}}} |
− | | | + | | pagename = {{{2|}}} |
− | | | + | | lang = {{{lang|}}} |
− | | | + | | query = {{{query|}}} |
− | | | + | | anchor = {{{anchor|}}} |
− | + | }} {{sec link/text | |
− | + | | project = {{{1|}}} | |
− | | | + | | pagename = {{{2|}}} |
− | + | | text = {{{3|}}} | |
− | | | + | | lang = {{{lang|}}} |
− | + | | query = {{{query|}}} | |
− | + | | anchor = {{{anchor|}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}]{{#switch: {{lc: {{{padlock|}}} }} | }}]{{#switch: {{lc: {{{padlock|}}} }} | ||
| no = </span> | | no = </span> | ||
Line 43: | Line 22: | ||
| <!--Not on the secure server, make a normal link--> | | <!--Not on the secure server, make a normal link--> | ||
− | {{#if:{{{query|}}} | + | {{#if: {{{query|}}} {{{lang|}}} |
− | | <!--Make a | + | | <!--Make a full url link, needed when query or lang--> |
− | <span class="plainlinks">[{{ | + | <span class="plainlinks">[{{sec link/normal url |
− | + | | project = {{{1|}}} | |
− | + | | pagename = {{{2|}}} | |
− | }} | + | | lang = {{{lang|}}} |
− | | {{{ | + | | query = {{{query|}}} |
− | | {{ | + | | anchor = {{{anchor|}}} |
− | + | }} {{sec link/text | |
− | + | | project = {{{1|}}} | |
+ | | pagename = {{{2|}}} | ||
+ | | text = {{{3|}}} | ||
+ | | lang = {{{lang|}}} | ||
+ | | query = {{{query|}}} | ||
+ | | anchor = {{{anchor|}}} | ||
}}]</span> | }}]</span> | ||
| <!--Make a normal link--> | | <!--Make a normal link--> | ||
− | [[:{{ | + | [[:{{sec link/normal link |
− | | | + | | project = {{{1|}}} |
− | + | | pagename = {{{2|}}} | |
− | | | + | | anchor = {{{anchor|}}} |
− | }}|{{ | + | }}|{{sec link/text |
− | | {{{ | + | | project = {{{1|}}} |
− | | {{ | + | | pagename = {{{2|}}} |
− | + | | text = {{{3|}}} | |
− | + | | anchor = {{{anchor|}}} | |
− | + | ||
− | + | ||
}}]] | }}]] | ||
}} | }} |
Revision as of 21:23, 29 September 2010
[edit]
Documentation