Template:OpenGameArt: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Trying to fix formatting |
imported>AntumDeluge Update Template:OpenGameArt content, description, & usage |
||
| Line 1: | Line 1: | ||
<noinclude> |
<noinclude>== Template Output == |
||
| ⚫ | |||
<blockquote></noinclude> |
|||
| ⚫ | |||
</blockquote> |
|||
== Description == |
|||
<span style="font-weight:bold;">Template:{{PAGENAME}}</span> |
|||
For quickly linking to OpenGameArt.org, and/or submissions, using "''node''" links. |
|||
== 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:20px;border:solid 2px;border-color:lightgray;"><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> |
|||
=== Arguments === |
|||
<blockquote> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! |
! Argument || Description |
||
|- |
|- |
||
| nid || Node ID of URL. |
|||
| ⚫ | |||
|- |
|- |
||
| text || Alternate text to display instead of URL. |
|||
| <nowiki>{{OpenGameArt|nid}} or {{OGA|nid}}</nowiki> || <nowiki>https://opengameart.org/node/<nid></nowiki> |
|||
|} |
|||
</blockquote> |
|||
== Examples == |
|||
<blockquote> |
|||
{| class="wikitable" |
|||
! Input || Output |
|||
|- |
|||
| <nowiki>{{OpenGameArt}}</nowiki> || {{OpenGameArt}} |
|||
|- |
|||
| ⚫ | |||
|- |
|||
| <nowiki>{{OpenGameArt|76913}}</nowiki> || {{OpenGameArt|76913}} |
|||
|- |
|- |
||
| <nowiki>{{OpenGameArt| |
| <nowiki>{{OpenGameArt|76913|Minotaur}}</nowiki> || {{OpenGameArt|76913|Minotaur}} |
||
|} |
|} |
||
</blockquote> |
|||
| ⚫ | |||
== See Also == |
|||
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]] |
|||
[[Category:Graphics]] |
|||
| ⚫ | |||
[[Category:Stendhal]] |
|||
[[Category:Development]] |
|||
[[Category:Template]] |
|||
Revision as of 00:13, 3 March 2018
Template Output
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]}}
Arguments
Argument Description nid Node ID of URL. text Alternate text to display instead of URL.
Examples
Input Output {{OpenGameArt}} {{OpenGameArt||OpenGameArt.org {{OpenGameArt|76913}} {{OpenGameArt|76913|Minotaur}}