Template:OpenGameArtContent: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Clean up |
imported>AntumDeluge Fix so no preceding newline |
||
| Line 1: | Line 1: | ||
<noinclude>== Template Output == |
<noinclude>== Template Output == |
||
<blockquote |
<blockquote> |
||
{{#if: {{{1|}}} | {{#if: {{{2|}}} | [https://opengameart.org/content/{{{1|}}} {{{2|}}}] | https://opengameart.org/content/{{{1|}}} | }} | {{#if: {{{2|}}} | [https://opengameart.org/ {{{2|}}}] | https://opengameart.org/ }} }}<noinclude> |
</noinclude>{{#if: {{{1|}}} | {{#if: {{{2|}}} | [https://opengameart.org/content/{{{1|}}} {{{2|}}}] | https://opengameart.org/content/{{{1|}}} | }} | {{#if: {{{2|}}} | [https://opengameart.org/ {{{2|}}}] | https://opengameart.org/ }} }}<noinclude> |
||
</blockquote> |
</blockquote> |
||
Revision as of 06:32, 3 March 2018
Template Output
Description
Template:OpenGameArtContent
For quickly linking to OpenGameArt.org, and/or submissions, using human-readable links.
Usage
- {{OpenGameArtContent|[sub]|[text]}}
- {{OGAC|[sub]|[text]}}
- {{ogac|[sub]|[text]}}
Optional Arguments
Argument Description sub Sub-string of content URL. text Alternate text to display instead of URL.
Examples
Input Output {{OpenGameArtContent}} https://opengameart.org/ {{OpenGameArtContent||OpenGameArt.org}} OpenGameArt.org {{OpenGameArtContent|minotaur-2}} https://opengameart.org/content/minotaur-2 {{OpenGameArtContent|minotaur-2|Minotaur}} Minotaur