Difference between revisions of "Template:Shared repository category/doc"

From LFS Manual
Jump to navigationJump to search
(Created page with "<noinclude>{{documentation subpage}}</noinclude> '''Shared repository category''' is used to indicate the existence of media related to the article. == Usage == {{Shared rep...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
  
'''Shared repository category''' is used to indicate the existence of media related to the article.
+
'''Shared repository category''' is used to indicate the existence of media related to the article, over on the shared repository: [https://upload.lfsmanual.net/ upload.lfsmanual.net].
  
 
== Usage ==
 
== Usage ==
{{Shared repository category}}
 
 
<pre>
 
{{Shared repository category}}
 
</pre>
 
  
 +
{{markup|
 +
<nowiki>{{Shared repository category}}</nowiki>|{{Shared repository category}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>text {{Shared repository category|XF GTR}}</nowiki>|text {{Shared repository category|XF GTR}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>text {{Shared repository category|Blackwood|BL}}</nowiki>|text {{Shared repository category|Blackwood|BL}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>text {{Shared repository category|Blackwood|position=left}}</nowiki>|text {{Shared repository category|Blackwood|position=left}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>text {{Shared repository category|Blackwood|position=right}}</nowiki>|text {{Shared repository category|Blackwood|position=right}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>text {{Shared repository category|Blackwood|position=none}}</nowiki>|text {{Shared repository category|Blackwood|position=none}}}}<!-- Template:Mra -->
  
 
== Parameters ==
 
== Parameters ==
Line 19: Line 26:
 
|-
 
|-
 
! scope="row" | 1
 
! scope="row" | 1
| 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). If you do not define this, please double check that a category with the article name exists on the shared repository.
 
| {{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
| Optional. If specified as {{code|left}}, the box appears on the left side of the article. By default it is on the right.
+
| Optional. If specified as {{code|left}}, the box appears on the left side of the article. By default it is not floating.
 
| {{code|left}}
 
| {{code|left}}
  
 
<includeonly>
 
<includeonly>
[[Category:Infobox templates]]
+
[[Category:Layout templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 13:19, 3 January 2025

Information icon4.png 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, over on the shared repository: upload.lfsmanual.net.

Usage

Markup Renders as
{{Shared repository category}}
Gallery icon.png

Shared repository has media related to Shared repository category/doc.

Markup Renders as
text {{Shared repository category|XF GTR}}
text
Gallery icon.png

Shared repository has media related to XF GTR.

Markup Renders as
text {{Shared repository category|Blackwood|BL}}
text
Gallery icon.png

Shared repository has media related to BL.

Markup Renders as
text {{Shared repository category|Blackwood|position=left}}
text
Gallery icon.png

Shared repository has media related to Blackwood.

Markup Renders as
text {{Shared repository category|Blackwood|position=right}}
text
Gallery icon.png

Shared repository has media related to Blackwood.

Markup Renders as
text {{Shared repository category|Blackwood|position=none}}
text
Gallery icon.png

Shared repository has media related to Blackwood.

Parameters

Infobox league parameters and basic guidelines
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 not floating. left