Template:PublicMember: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
template for documenting public members
 
imported>AntumDeluge
add category
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
</noinclude>; ''<span style="color:darkblue;">{{{1|}}}</span>''
</noinclude>; ''<span style="color:darkblue;">{{{1|}}}</span>''
: {{#if: {{{desc|}}} | {{{desc|}}} }} {{#if: {{{type|}}} |
: {{#if: {{{desc|}}} | {{{desc|}}} }} {{#if: {{{type|}}} |
: Type: <code>{{{type|}}} }}<noinclude></blockquote>
: Type: <code>{{{type|}}}</code> }}<noinclude></blockquote>


== Description ==
== Description ==
Line 17: Line 17:
| Output || {{{{PAGENAME}} | helloworld | desc=A test member. | type=[[StendhalAPI#NPC|NPC]]}}
| Output || {{{{PAGENAME}} | helloworld | desc=A test member. | type=[[StendhalAPI#NPC|NPC]]}}
|}
|}


[[Category:Documentation]]

Latest revision as of 21:47, 18 January 2022

Template output:

Description

Template for creating method representations.

Examples

Input {{PublicMember | helloworld | desc=A test member. | type=[[StendhalAPI#NPC|NPC]]}}
Output
helloworld
A test member.
Type: NPC