Template:OpenGameArtContent: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Usage: List "Template:OGAC" as shorter alternative
imported>AntumDeluge
Link to "Category:RefactoringTemplates" under "See Also" section
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Template Output ==
<noinclude>== Template Output ==


<blockquote></noinclude>
<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>


Line 13: Line 13:
== Usage ==
== Usage ==


<span style="font-family:monospace;font-size:20px;border:solid 2px;border-color:lightgray;"><nowiki>{{OpenGameArtContent|[sub]|[text]}}</nowiki><span><br>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{OpenGameArtContent|[sub]|[text]}}</nowiki><span>
<span style="font-family:monospace;font-size:20px;border:solid 2px;border-color:lightgray;"><nowiki>{{OGAC|[sub]|[text]}}</nowiki></span><br>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{OGAC|[sub]|[text]}}</nowiki></span>
<span style="font-family:monospace;font-size:20px;border:solid 2px;border-color:lightgray;"><nowiki>{{ogac|[sub]|[text]}}</nowiki></span>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{ogac|[sub]|[text]}}</nowiki></span>


=== Arguments ===
=== Optional Arguments ===


<blockquote>
<blockquote>
Line 37: Line 37:
| <nowiki>{{OpenGameArtContent}}</nowiki> || {{OpenGameArtContent}}
| <nowiki>{{OpenGameArtContent}}</nowiki> || {{OpenGameArtContent}}
|-
|-
| <nowiki>{{OpenGameArtContent||OpenGameArt.org</nowiki> || {{OpenGameArtContent||OpenGameArt.org}}
| <nowiki>{{OpenGameArtContent||OpenGameArt.org}}</nowiki> || {{OpenGameArtContent||OpenGameArt.org}}
|-
|-
| <nowiki>{{OpenGameArtContent|minotaur-2}}</nowiki> || {{OpenGameArtContent|minotaur-2}}
| <nowiki>{{OpenGameArtContent|minotaur-2}}</nowiki> || {{OpenGameArtContent|minotaur-2}}
Line 47: Line 47:
== See Also ==
== See Also ==


* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]




[[Category:Graphics]]
[[Category:OpenGameArt]]
[[Category:OpenGameArt]]
[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:Template]]
[[Category:RefactoringTemplates]]

Latest revision as of 02:12, 14 March 2018

Template Output

https://opengameart.org/

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

See Also