Difference between revisions of "Template:Github"
Jump to navigation
Jump to search
Tag: 2017 source edit |
Tag: 2017 source edit |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [https://github.com/{{{user}}}/lorekeeper{{#if: {{{branch|}}} |/tree/{{{branch}}} }} {{#if: {{{branch|}}} | {{{branch}}} | {{{user}}} }}] | + | [https://github.com/{{{user}}}/{{{repo|lorekeeper}}}{{#if: {{{branch|}}} |/tree/{{{branch}}} }} {{#if: {{{repo|}}} | {{{user}}}/{{{repo}}}{{#if: {{{branch|}}} | /{{{branch}}} | }} | {{#if: {{{branch|}}} | {{{branch}}} | {{{user}}}/{{{repo|lorekeeper}}} }} }}] |
+ | <noinclude>{{Documentation}}</noinclude> |
Latest revision as of 09:29, 11 June 2020
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. |
The above documentation is transcluded from Template:Github/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |