Template:OpenGameArt: Difference between revisions
Content deleted Content added
imported>AntumDeluge Create template "OpenGameArt" for linking to OpenGameArt.org |
imported>AntumDeluge Link to "Category:RefactoringTemplates" under "See Also" section |
||
| (121 intermediate revisions by the same user not shown) | |||
Line 1:
<noinclude>== Template Output ==
Linking to OpenGameArt.org.▼
<blockquote>
{| class="prettytable"▼
</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>
== 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:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{OpenGameArt|[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:14px;border:solid 2px;border-color:lightgray;font-weight:bold;"><nowiki>{{oga|[nid]|[text]}}</nowiki></span>
=== Optional Arguments ===
<blockquote>
! Name || Description
|-
| nid || Node ID of URL.
| <nowiki>https://opengameart.org/</nowiki> || <nowiki>{{OpenGameArt}} or {{OGA}}</nowiki>▼
|-
| text || Alternate text to display instead of URL.
|}
</
== Examples ==
<blockquote>
{| class="wikitable"
! Input || Output
|-
▲| <nowiki>
|-
| <nowiki>{{OpenGameArt||OpenGameArt.org}}</nowiki> || {{OpenGameArt||OpenGameArt.org}}
|-
| <nowiki>{{OpenGameArt|76913}}</nowiki> || {{OpenGameArt|76913}}
|-
| <nowiki>{{OpenGameArt|76913|Minotaur}}</nowiki> || {{OpenGameArt|76913|Minotaur}}
|}
</blockquote>
== See Also ==
* [[Templates|List of templates]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]
[[Category:Graphics]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:RefactoringTemplates]]
| |||