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
Link to "Category:RefactoringTemplates" under "See Also" section
 
(12 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/node/{{{1|}}} {{{2|}}}] | https://opengameart.org/node/{{{1|}}} | }} | {{#if: {{{2|}}} | [https://opengameart.org/ {{{2|}}}] | https://opengameart.org/ }} }}<noinclude>
</noinclude>{{#if: {{{1|}}} | {{#if: {{{2|}}} | [https://opengameart.org/node/{{{1|}}} {{{2|}}}] | https://opengameart.org/node/{{{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>{{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}}]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]




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

Latest revision as of 01:11, 18 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