This is a documentation subpage for Template:GitHub Repository. It contains usage information, categories and other content that is not part of the original page. |
Usage
Valid Usage
{{GitHub Repository|C-C-Minetest-Server/phonograph}}
→ C-C-Minetest-Server/phonograph{{GitHub Repository|C-C-Minetest-Server/phonograph|commit=fe35073a016f86522068ee11b18af4f1b273fa4e}}
→ C-C-Minetest-Server/phonograph@fe35073
{{GitHub Repository|minetest/minetest|branch=stable-5}}
→ minetest/minetest@stable-5
{{GitHub Repository|minetest/minetest|file=doc/lua_api.md}}
→ minetest/minetest:/doc/lua_api.md{{GitHub Repository|minetest/minetest|file=builtin/init.lua|line=9}}
→ minetest/minetest:/builtin/init.lua#L9{{GitHub Repository|minetest/minetest|branch=stable-5|file=builtin/init.lua|line=9}}
→ minetest/minetest@stable-5
:/builtin/init.lua#L9{{GitHub Repository|minetest/minetest|branch=stable-5|file=doc/lua_api.md}}
→ minetest/minetest@stable-5
:/doc/lua_api.md
Invaid Usage
- Missing repository:
{{GitHub Repository|branch=stable-5}}
→ {{GitHub Repository}}: Missing parameter 1 (repository){{GitHub Repository|commit=fe35073a016f86522068ee11b18af4f1b273fa4e}}
→ {{GitHub Repository}}: Missing parameter 1 (repository)
- Using both
|branch=
and|commit=
:{{GitHub Repository|C-C-Minetest-Server/phonograph|branch=stable-5|commit=fe35073a016f86522068ee11b18af4f1b273fa4e}}
→ {{GitHub Repository}}: Found both|branch=
and|commit=