More actions
Created page with "<includeonly> <templatestyles src="Template:ExternalFileDownload/styles.css"/> <span class="ui-button-container">[//{{#ifeq:{{{1|}}}|XPModder|gitlab.xpmodder.com|gitlab.com}}/{{urlencode:{{{1|}}}}}/{{urlencode:{{{2|}}}}} <span class="submit ui-button ui-widget ui-state-default ui-corner-all {{{class|}}}" role="button" aria-disabled="false"><span class="ui-button-text"><i class="fa-brands fa-gitlab"></i> {{{3|Gitlab}}}</span></span>]</span></includeonly> <noi..." |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Template:ExternalFileDownload/styles.css"/> | <templatestyles src="Template:ExternalFileDownload/styles.css"/> | ||
<span class="ui-button-container">[//{{#ifeq:{{{1|}}}|XPModder|gitlab.xpmodder.com|gitlab.com}}/ | <span class="ui-button-container">[//{{#ifeq:{{{1|}}}|XPModder|gitlab.xpmodder.com|gitlab.com}}/{{{1|}}}/{{{2|}}} <span class="submit ui-button ui-widget ui-state-default ui-corner-all | ||
{{{class|}}}" role="button" aria-disabled="false"><span class="ui-button-text"><i class="fa-brands fa-gitlab"></i> {{{3|Gitlab}}}</span></span>]</span></includeonly> | {{{class|}}}" role="button" aria-disabled="false"><span class="ui-button-text"><i class="fa-brands fa-gitlab"></i> {{{3|Gitlab}}}</span></span>]</span></includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 14:33, 20 July 2025
Test:
Template Data
Creates a download button for the given file, assuming the file is stored at fswiki.xpmodder.com/externalFiles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | Name of the user on GitLab | String | required |
Repository/Link | 2 | Name of the repository or link to something within a repository | String | required |
Button text | 3 | The text on the button | String | optional |
class | class | Optional css class to apply to button | String | optional |