Template:OpenGameArtContent: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Format usage options in an un-ordered list & add to "Category:Graphics"
imported>AntumDeluge
Clean up
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>
* <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>
* <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}}]]




Line 54: Line 54:
[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:Template]]

Revision as of 02:48, 3 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