Template:OGAUser: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Replace whitespace in "username" argument with dashes
imported>AntumDeluge
Never show full URL
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--
<noinclude><!--
</noinclude>{{#if: {{{1|}}} | {{#if: {{{2|}}} | [ | }}https://opengameart.org/users/{{#replace:{{{1|}}}||-}} {{#if: {{{2|}}} | {{{2|}}}] | }} }}<noinclude>
</noinclude>{{#if: {{{1|}}} | [https://opengameart.org/users/{{#replace:{{{1|}}}||-}} {{#if: {{{2|}}} | {{{2|}}} | {{{1|}}} }}] | }}<noinclude>
-->
-->



Latest revision as of 20:45, 28 March 2018


Description

Template:OGAUser

For quickly linking to user profiles on OpenGameArt.org.

Usage

  • {{OGAUser|username|[text]}}
  • {{ogauser|username|[text]}}

Arguments

Name Required Description Notes
username User's OGA username. Whitespace is replaced with dashes (-).
text Alternate text to display.

Examples

Input Output
{{OGAUser|AntumDeluge}} [https://opengameart.org/users/{{#replace:AntumDeluge -}} AntumDeluge]
{{OGAUser|AntumDeluge|Jordan Irwin (AntumDeluge)}} [https://opengameart.org/users/{{#replace:AntumDeluge -}} Jordan Irwin (AntumDeluge)]

See Also