Template:OpenGameArt: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Update Template:OpenGameArt content, description, & usage
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>{{OpenGameArt|[nid]|[text]}}</nowiki><span>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{OpenGameArt|[nid]|[text]}}</nowiki><span>
* <span style="font-family:monospace;font-size:20px;border:solid 2px;border-color:lightgray;"><nowiki>{{OGA|[nid]|[text]}}</nowiki></span>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{OGA|[nid]|[text]}}</nowiki></span>
* <span style="font-family:monospace;font-size:20px;border:solid 2px;border-color:lightgray;"><nowiki>{{oga|[nid]|[text]}}</nowiki></span>
* <span style="font-family:monospace;font-size:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{oga|[nid]|[text]}}</nowiki></span>


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


<blockquote>
<blockquote>
{| class="wikitable"
{| class="wikitable"
! Argument || Description
! Name || Description
|-
|-
| nid || Node ID of URL.
| nid || Node ID of URL.
Line 37: Line 37:
| <nowiki>{{OpenGameArt}}</nowiki> || {{OpenGameArt}}
| <nowiki>{{OpenGameArt}}</nowiki> || {{OpenGameArt}}
|-
|-
| <nowiki>{{OpenGameArt||OpenGameArt.org</nowiki> || {{OpenGameArt||OpenGameArt.org}}
| <nowiki>{{OpenGameArt||OpenGameArt.org}}</nowiki> || {{OpenGameArt||OpenGameArt.org}}
|-
|-
| <nowiki>{{OpenGameArt|76913}}</nowiki> || {{OpenGameArt|76913}}
| <nowiki>{{OpenGameArt|76913}}</nowiki> || {{OpenGameArt|76913}}
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:45, 3 March 2018

Template Output

https://opengameart.org/

Description

Template:OpenGameArt

For quickly linking to OpenGameArt.org, and/or submissions, using "node" links.

Usage

  • {{OpenGameArt|[nid]|[text]}}
  • {{OGA|[nid]|[text]}}
  • {{oga|[nid]|[text]}}

Optional Arguments

Name Description
nid Node ID of URL.
text Alternate text to display instead of URL.

Examples

Input Output
{{OpenGameArt}}

https://opengameart.org/

{{OpenGameArt||OpenGameArt.org}}

OpenGameArt.org

{{OpenGameArt|76913}}

https://opengameart.org/node/76913

{{OpenGameArt|76913|Minotaur}}

Minotaur

See Also