Template:NPCSource: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Allow optional 3rd parameter
imported>AntumDeluge
Add category "RefactoringTemplates"
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
== See Also ==
== See Also ==


* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]




[[Category:Stendhal]]
[[Category:Stendhal]]
[[Category:Development]]
[[Category:Development]]
[[Category:RefactoringTemplates]]

Latest revision as of 04:47, 4 March 2018


Usage

Input Output
{{NPCSource|source}} [https://github.com/arianne/stendhal/blob/master/src/games/stendhal/server/maps/<source>.java <source>]
{{NPCSource|source|names}} [https://github.com/arianne/stendhal/blob/master/src/games/stendhal/server/maps/<source>.java <names>]
{{NPCSource|source||names}} [https://github.com/arianne/stendhal/blob/master/src/games/stendhal/server/maps/<source>.java <source>] (names)

Example

Input Output
{{NPCSource|ados/bank/BankNPC}} ados/bank/BankNPC
{{NPCSource|ados/bank/BankNPC|Rachel}} Rachel
{{NPCSource|ados/bank/BankNPC||Rachel}} ados/bank/BankNPC(Rachel)

See Also