Template:JournalAuthor

From VOC Wiki
Revision as of 22:29, 18 April 2019 by imported>George
Jump to navigation Jump to search

Rogalla| |_}} Birgit Rogalla Hill| |_}}-2 George Hill This template should be used within tables on VOC Journal Pages to link the author to their author archive on the main website https://www.ubc-voc.com/author/firstname_lastname.

$wgPFEnableStringFunctions = true; needs to be set in the LocalSettings.php in order for this template to work. The two functions below are two string functions affected by this setting. When enabled, it should show "striw" and "6". {{#replace:string|g|w}} {{#len:string}}

Empty:

{{JournalAuthor|Name=|Num=2}}

Filled Out:

{{JournalAuthor|Name=Birgit Rogalla}}
{{JournalAuthor|Name=George Hill|Num=2}}