Template:Person: Difference between revisions
Appearance
Created page with "<span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}}[[{{{1}}}]]</span><noinclude> == Example == E.g: <nowiki>{{{{Person|Joseph Anderson}}</nowiki> {{Person|Joseph Anderson}} == Template Data == <templatedata> { "params": { "1": { "aliases": [ "name" ], "label": "Name", "description": "The name of the person being referenced.", "type": "s..." |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}} | <span style="display: inline-flex; gap: 0.35em; align-items: center;">{{#if:{{AvatarFor|{{{1}}}}}|<span class="inline-img circular">{{AvatarFor|{{{1}}}}}</span>}}{{DisplayName|{{{1}}}}}</span><noinclude> | ||
== Example == | == Example == | ||
E.g: | E.g: | ||
<code><nowiki>{{{{Person|Joseph Anderson}}</nowiki></code> | |||
{{Person|Joseph Anderson}} | {{Person|Joseph Anderson}} | ||
<code><nowiki>{{{{Person|epheoko}}</nowiki></code> | |||
{{Person|Epheoko}} | |||
== Template Data == | == Template Data == | ||
Line 10: | Line 16: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the person being referenced.", | "description": "The name of the page for the person being referenced.", | ||
"type": " | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
} | } |
Latest revision as of 22:30, 6 March 2025
[[{{{1}}}|{{{1}}}]]
Example
E.g:
{{{{Person|Joseph Anderson}}
{{{{Person|epheoko}}
Template Data
Attribute something to someone.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the page for the person being referenced. | Page name | required |