Difference between revisions of "Template:Shared repository category"
From LFS Manual
Jump to navigationJump to search (Created page with "<includeonly><div style=" position: relative; z-index: 1; border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black;...") |
|||
Line 19: | Line 19: | ||
Shared repository has media related to | Shared repository has media related to | ||
<span style="font-weight: bold; font-style: italic; text-decoration: none; color: #0645ad; background: none;"> | <span style="font-weight: bold; font-style: italic; text-decoration: none; color: #0645ad; background: none;"> | ||
− | {{Plain link|{{#if:{{{1|}}}|https://upload.lfsmanual.net/wiki/Category:{{{1|}}}|https://upload.lfsmanual.net/wiki/Category:{{PAGENAMEE}}}}|{{PAGENAME}}}}</span>. | + | {{Plain link|{{#if:{{{1|}}}|https://upload.lfsmanual.net/wiki/Category:{{{1|}}}|https://upload.lfsmanual.net/wiki/Category:{{PAGENAMEE:{{{1}}}}}}}|{{PAGENAME}}}}</span>. |
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> |
Revision as of 19:50, 6 February 2024
Template documentation
Shared repository category is used to indicate the existence of media related to the article, over on the shared repository: upload.lfsmanual.net.
Usage
Markup | Renders as |
---|---|
{{Shared repository category}} |
Shared repository has media related to Shared repository category. |
Markup | Renders as |
---|---|
text {{Shared repository category|XF GTR}} |
text
Shared repository has media related to GTR Shared repository category. |
Markup | Renders as |
---|---|
text {{Shared repository category|Blackwood|BL}} |
text
Shared repository has media related to Shared repository category. |
Markup | Renders as |
---|---|
text {{Shared repository category|Blackwood|position=left}} |
text
Shared repository has media related to Shared repository category. |
Parameters
Parameter | Explanation | Example values |
---|---|---|
1 | Optional. Category name on the shared repository to link to. By default it takes the article title (PAGENAME). If you do not define this, please double check that a category with the article name exists on the shared repository. | XF GTR
|
2 | Optional. Overrides text of the link. if needed. | XFR
|
position | Optional. If specified as left , the box appears on the left side of the article. By default it is on the right.
|
left
|