Template:LinkCreature: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Create Template:LinkCreature for linking to creature profiles on stendhalgame.org |
imported>AntumDeluge Use 2nd argument to replace text in link |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if: {{{1|}}} | [https://stendhalgame.org/creature/{{{1|}}}.html |
{{#if: {{{1|}}} | [https://stendhalgame.org/creature/{{{1|}}}.html {{#if: {{{2|}}} | {{{2|}}} | {{{1|}}} }}] | }}<noinclude> |
||
== Description == |
== Description == |
||
| Line 10: | Line 10: | ||
! Input || Output |
! Input || Output |
||
|- |
|- |
||
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|name}}</nowiki> || <nowiki>[https://stendhalgame.org/creature/<name>.html |
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|name}}</nowiki> || <nowiki>[https://stendhalgame.org/creature/<name>.html name]</nowiki> |
||
|- |
|- |
||
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|name| |
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|name|text}}</nowiki> || <nowiki>[https://stendhalgame.org/creature/<name>.html text]</nowiki> |
||
|} |
|} |
||
| Line 18: | Line 18: | ||
{| class="wikitable" |
{| class="wikitable" |
||
! Argument No.<br>(label) || Description |
! Argument No.<br>(label) || Description |
||
|- |
|- |
||
| 1 (name) || Creature name. |
| 1 (name) || Creature name. |
||
|- |
|- |
||
| 2 ( |
| 2 (text) || Text to display instead of name (optional). |
||
|} |
|} |
||
| Line 34: | Line 34: | ||
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|nymph}}</nowiki> || {{LinkCreature|nymph}} |
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|nymph}}</nowiki> || {{LinkCreature|nymph}} |
||
|- |
|- |
||
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|nymph|png}}</nowiki> || {{LinkCreature|nymph|png}} |
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|nymph|nymp.png}}</nowiki> || {{LinkCreature|nymph|nymph.png}} |
||
|} |
|} |
||
</blockquote> |
</blockquote> |
||