Difference between revisions of "Template:Github/doc"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 9: Line 9:
 
=== Parameters ===
 
=== Parameters ===
 
{| class="wikitable"
 
{| class="wikitable"
|+ Caption
 
 
! Parameter !! Required? !! Default !! Description
 
! Parameter !! Required? !! Default !! Description
 
|-
 
|-
 
| user || yes || || Github username.
 
| user || yes || || Github username.
 +
|-
 +
| branch || no || || Branch name.
 +
|-
 +
| repo || no || lorekeeper || Github repo.
 
|}
 
|}
  

Revision as of 09:52, 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 no lorekeeper Github repo.