Template:Newgrounds: Difference between revisions
Jump to navigation
Jump to search
imported>TabbyGarf 1 revision imported |
i think this was needed |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[file:Newgrounds_Favicon.png|link= | <includeonly><span class="plainlinks" style="white-space:nowrap;">[[file:Newgrounds_Favicon.png|link={{#switch:{{{1}}} | ||
|u=https://{{{2}}}.newgrounds.com/ | |||
|user=https://{{{2}}}.newgrounds.com/ | |||
|p=https://www.newgrounds.com/portal/view/{{{2}}} | |||
|portal=https://www.newgrounds.com/portal/view/{{{2}}} | |||
|a=https://www.newgrounds.com/art/view/{{{2|}}}/{{{3}}} | |||
|art=https://www.newgrounds.com/art/view/{{{2|}}}/{{{3}}} | |||
}}]] {{#switch:{{{1}}} | |||
|u=[https://{{{2}}}.newgrounds.com/ '''{{{3|{{{2}}}}}}'''] | |||
|user=[https://{{{2}}}.newgrounds.com/ '''{{{3|{{{2}}}}}}'''] | |||
|p=[https://www.newgrounds.com/portal/view/{{{2}}} '''{{{3|{{{2}}}}}}'''] | |||
|portal=[https://www.newgrounds.com/portal/view/{{{2}}} '''{{{3|{{{2}}}}}}'''] | |||
|a=[https://www.newgrounds.com/art/view/{{{2|}}}/{{{3}}} '''{{{4|{{{3}}}}}}'''] | |||
|art=[https://www.newgrounds.com/art/view/{{{2|}}}/{{{3}}} '''{{{4|{{{3}}}}}}'''] | |||
}}</span></includeonly><noinclude> | |||
== Usage == | == Usage == | ||
Creates a link to a | Creates a link to a [[Newgrounds]] user, movie, game, or art. | ||
Syntax: | Syntax: | ||
<pre>{{newgrounds| | <pre>{{newgrounds|type|ID/username|description}}</pre> | ||
where: | where: | ||
# '''Type''' - Can be '''u''', '''user''', '''p''', '''portal''', '''a''', '''art'''. | |||
# '''ID/username''' - The ID can be found after '''portal/view/'''. | |||
# '''Description''' (''optional''). | |||
However the syntax is a bit different for linking to art. | |||
<pre>{{Newgrounds|type|artist|art}}</pre> | |||
# '''Type''' - It is the same as last time. | |||
# '''Artist''' - The artist's name. | |||
# '''Art''' - The name of the art. | |||
results in | == Examples == | ||
These: | |||
<pre>{{Newgrounds|p|625356|Socrates Jones: Pro Philosopher}}<br> | |||
{{Newgrounds|p|461287|Angry Jew}}<br> | |||
{{Newgrounds|u|TomFulp|Sellout}}<br> | |||
{{Newgrounds|a|jcdr|ae-tan|Ae-tan}}</pre> | |||
results in these: | |||
{{Newgrounds|p|625356|Socrates Jones: Pro Philosopher}}<br> | |||
{{Newgrounds|p|461287|Angry Jew}}<br> | |||
{{Newgrounds|u|TomFulp|Sellout}}<br> | |||
{{Newgrounds|a|jcdr|ae-tan|Ae-tan}} | |||
[[Category:Link Templates|{{PAGENAME}}]]</noinclude> | [[Category:Link Templates|{{PAGENAME}}]]</noinclude> | ||
Latest revision as of 14:27, 26 April 2026
Usage
Creates a link to a Newgrounds user, movie, game, or art.
Syntax:
{{newgrounds|type|ID/username|description}}
where:
- Type - Can be u, user, p, portal, a, art.
- ID/username - The ID can be found after portal/view/.
- Description (optional).
However the syntax is a bit different for linking to art.
{{Newgrounds|type|artist|art}}
- Type - It is the same as last time.
- Artist - The artist's name.
- Art - The name of the art.
Examples
These:
{{Newgrounds|p|625356|Socrates Jones: Pro Philosopher}}<br>
{{Newgrounds|p|461287|Angry Jew}}<br>
{{Newgrounds|u|TomFulp|Sellout}}<br>
{{Newgrounds|a|jcdr|ae-tan|Ae-tan}}
results in these: