Difference between revisions of "Template:Github/doc"
Jump to navigation
Jump to search
(Created page with "This template provides a link to a given github repo; by default, it points to a given user's fork of lorekeeper and optionally to a given branch of it, but it can be pointed...") Tag: 2017 source edit |
Tag: 2017 source edit |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This template provides a link to a given github repo; by default, it points to a given user's fork of | + | <noinclude>{{Documentation subpage}}</noinclude> |
+ | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
+ | This template provides a link to a given github repo; by default, it points to a given user's fork of Lorekeeper and optionally to a given branch of it, but it can be pointed to other repos as convenient. | ||
+ | == Usage == | ||
+ | The default use-- to point at a branch of Lorekeeper-- is as such: | ||
+ | <pre>{{Github|user=|branch=}}</pre> | ||
+ | It can also point to other repos as desired, and branches of them if need be. | ||
+ | <pre>{{Github|user=|repo=}}</pre> | ||
+ | === Parameters === | ||
+ | {| class="wikitable" | ||
+ | ! Parameter !! Required? !! Default !! Description | ||
+ | |- | ||
+ | | user || yes || || Github username. | ||
+ | |- | ||
+ | | branch || no || || Branch name. | ||
+ | |- | ||
+ | | repo || semi || lorekeeper || Github repo. | ||
+ | |} | ||
+ | |||
+ | {{sandbox other|| | ||
+ | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
+ | [[Category:Templates]] | ||
+ | }} |
Latest revision as of 11:14, 11 June 2020
40px | This is a documentation subpage for Template:Github. It contains usage information, categories and other content that is not part of the original template page. |
This template provides a link to a given github repo; by default, it points to a given user's fork of Lorekeeper and optionally to a given branch of it, but it can be pointed to other repos as convenient.
Usage
The default use-- to point at a branch of Lorekeeper-- is as such:
{{Github|user=|branch=}}
It can also point to other repos as desired, and branches of them if need be.
{{Github|user=|repo=}}
Parameters
Parameter | Required? | Default | Description |
---|---|---|---|
user | yes | Github username. | |
branch | no | Branch name. | |
repo | semi | lorekeeper | Github repo. |