Difference between revisions of "Template:Extension"

m
Fix matches when author field is missing.
>HappyDog
m (Better layout for username)
>HappyDog
m (Fix matches when author field is missing.)
Line 23: Line 23:
{{#if:{{{author|{{{username<includeonly>|</includeonly>}}}}}}|
{{#if:{{{author|{{{username<includeonly>|</includeonly>}}}}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Author:'''
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Author:'''
<!-- -->{{!}} {{#if: {{{username|}}} | {{#ifeq: {{{username}}}|{{{author|}}}||{{{author}}} (}}[[User:{{{username}}}]] <small>[[User talk:{{{username}}}|talk]]</small>{{#ifeq: {{{username}}}|{{{author|}}}||)}} | {{{author}}} }}
<!-- -->{{!}} {{#if: {{{username|}}} | {{#ifeq: {{{username}}}|{{{author|{{{username}}}}}}||{{{author}}} (}}[[User:{{{username}}}]] <small>[[User talk:{{{username}}}|talk]]</small>{{#ifeq: {{{username}}}|{{{author|{{{username}}}}}}||)}} | {{{author}}} }}
}}
}}
|-
|-
Anonymous user