Template:GitHub: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Add category "RefactoringTemplates" |
imported>AntumDeluge Link to "Category:RefactoringTemplates" under "See Also" section & clarify usage |
||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
== Usage == |
== Usage == |
||
<span style="font-family:monospace;font-size: |
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{GitHub|name|[repo|[branch/tag/commit|[file]]]|[text]}}</nowiki></span> |
||
=== Arguments === |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Argument || Description |
! Argument || Required || Description |
||
|- |
|- |
||
| |
| name || {{status|check}} || User or organization name. |
||
|- |
|- |
||
| repo || Repository name. |
| repo || || Repository name. |
||
|- |
|- |
||
| branch/tag/commit || Branch name or tag/commit ID. |
| branch/tag/commit || || Branch name or tag/commit ID. |
||
|- |
|- |
||
| file || Relative path to file. |
| file || || Relative path to file. |
||
|- |
|- |
||
| text || Alternate text to display. |
| text || || Alternate text to display. |
||
|} |
|} |
||
| Line 50: | Line 52: | ||
* [[Templates|List of templates]] |
* [[Templates|List of templates]] |
||
* [[:Category:RefactoringTemplates|List of refactoring templates]] |
|||