Difference between revisions of "Template:Comment"
Line 12: | Line 12: | ||
{{#if: {{{CommentPerson|}}} | {{#if: {{{CommentPerson|}}} | ||
| {{#vardefine:userimage|{{#ask: [[{{{CommentPerson}}}]] | ?User_image = | link=none|mainlabel=-}} }} | | {{#vardefine:userimage|{{#ask: [[{{{CommentPerson}}}]] | ?User_image = | link=none|mainlabel=-}} }} | ||
{{#if:{{#var:userimage}}||{{#vardefine:userimage|{{#ask:[[{{{CommentPerson}}}?|SSP avatar=|link=none|mainlabel=-}}}} | |||
}} | }} | ||
{{#if:{{#var:userimage}} | {{#if:{{#var:userimage}} | ||
Line 36: | Line 37: | ||
|[[Has comment text::{{{CommentContent|}}}]]}}</div> | |[[Has comment text::{{{CommentContent|}}}]]}}</div> | ||
<!-- end comment content--></div> | <!-- end comment content--></div> | ||
{{#if:{{{CommentWasDeleted|}}}|{{#ifeq:{{{CommentWasDeleted}}}|false||<br/>Comment was deleted}}}}[[Comment was deleted::{{{CommentWasDeleted}}}|]] | {{#if:{{{CommentWasDeleted|}}}|{{#ifeq:{{{CommentWasDeleted}}}|false||<br/>Comment was deleted}}}}[[Comment was deleted::{{{CommentWasDeleted|}}}|]] | ||
{{#if:{{{AttachedArticles|}}}|{{#arraymapce:{{{AttachedArticles|}}}|,|x|[[Has attached article::x]]}}|<br/>no attached articles}} | {{#if:{{{AttachedArticles|}}}|{{#arraymapce:{{{AttachedArticles|}}}|,|x|[[Has attached article::x]]}}|<br/>no attached articles}} | ||
<!-- end comment -->[[Category:Comment]]</includeonly><noinclude> | <!-- end comment -->[[Category:Comment]]</includeonly><noinclude> | ||
[[Part of bundle::Collaboration| ]] | [[Part of bundle::Collaboration| ]] | ||
</noinclude> | </noinclude> |