Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:SourceLink/doc: Difference between revisions

From starcup wiki
Created page with "= Documentation = This module generates an external link to the GitHub repository at the (hopefully) current commit hash of the main branch. It is used for pointing somewhere specific in the codebase. == Usage == <nowiki>{{SourceLink|Resources/Prototypes/Entities/Objects/Tools/lantern.yml#L1}} </nowiki> ... which generates the following link: {{SourceLink|Resources/Prototypes/Entities/Objects/Tools/lantern.yml#L1}}"
 
(No difference)

Latest revision as of 06:48, 23 May 2025

Documentation

This module generates an external link to the GitHub repository at the (hopefully) current commit hash of the main branch. It is used for pointing somewhere specific in the codebase.

Usage

{{SourceLink|Resources/Prototypes/Entities/Objects/Tools/lantern.yml#L1}}

... which generates the following link: lantern.yml