Difference between revisions of "Template:Shared repository category/doc"
From LFS Manual
Jump to navigationJump to searchm (→Usage) |
|||
| Line 24: | Line 24: | ||
| Optional. Category name on the shared repository to link to. By default it takes the article title (PAGENAME). | | Optional. Category name on the shared repository to link to. By default it takes the article title (PAGENAME). | ||
| {{code|XF GTR}} | | {{code|XF GTR}} | ||
| + | |- | ||
| + | ! scope="row" | 2 | ||
| + | | Optional. Overrides text of the link. if needed. | ||
| + | | {{code|XFR}} | ||
|- | |- | ||
! scope="row" | position | ! scope="row" | position | ||
Revision as of 20:04, 6 February 2024
| This is a documentation subpage for Template:Shared repository category.
It may contain usage information, categories and other content that is not part of the original page. |
Shared repository category is used to indicate the existence of media related to the article.
Usage
| Markup | Renders as |
|---|---|
{{Shared repository category}}
|
Shared repository has media related to Shared repository category/doc. |
| Markup | Renders as |
|---|---|
text {{Shared repository category|XF GTR}}
|
text
Shared repository has media related to XF GTR. |
| Markup | Renders as |
|---|---|
text {{Shared repository category|Blackwood|position=left}}
|
text
Shared repository has media related to Blackwood. |
| Markup | Renders as |
|---|---|
text {{Shared repository category|Blackwood|BL|position=left}}
|
text
Shared repository has media related to BL. |
Parameters
| Parameter | Explanation | Example values |
|---|---|---|
| 1 | Optional. Category name on the shared repository to link to. By default it takes the article title (PAGENAME). | 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
|