Template:GitHub: Difference between revisions

Content deleted Content added
imported>AntumDeluge
Create "Template:GitHub" for quick linking to repos or source files on GitHub
imported>AntumDeluge
Link to "Category:RefactoringTemplates" under "See Also" section & clarify usage
 
(9 intermediate revisions by the same user not shown)
Line 9:
== Usage ==
 
* <span style="font-family:monospace;font-size:20px14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{GitHub|user/orgname|[repo]|[branch/tag/commit]|[file]]]|[text]}}</nowiki></span>
 
=== Arguments ===
 
{| class="wikitable"
! Argument || Required || Description
|-
| user/orgname || {{status|check}} || User or organization name.
|-
| repo || || Repository name.
|-
| branch/tag/commit || || Branch name or tag/commit ID.
|-
| file || || Relative path to file.
|-
| text || || Alternate text to display.
|}
 
Line 49 ⟶ 51:
== See Also ==
 
* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]
 
 
[[Category:Stendhal]]
[[Category:Development]]
[[Category:RefactoringTemplates]]
</noinclude>