Template:BlogAuthor: Difference between revisions

From Portland NET Wiki
try stacked layout
remove article list because it showed up in blog articles themselves
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:
   <data source="name">
   <data source="name">
     <label>Author</label>
     <label>Author</label>
    <format>[[BlogAuthors/{{#invoke:String|replace|{{{name}}}| |}}|{{{name}}}]]</format>
   </data>
   </data>
   <data source="contact">
   <data source="contact">
     <label>Contact</label>
     <label>Contact</label>
   </data>
   </data>
  <data source="roles">
    <data source="role1">
     <label>Roles</label>
      <label>{{{role1}}}</label>
  </data>
      <format>{{{org1}}}</format>
    </data>
     <data source="role2">
      <label>{{{role2}}}</label>
      <format>{{{org2}}}</format>
    </data>
</infobox>
</infobox>
<noinclude>
<noinclude>
Blog articles:
{{#dpl:
| linksto = {{FULLPAGENAME}}
}}
<templatedata>
<templatedata>
{
{
Line 19: Line 30:
"type": "string"
"type": "string"
},
},
"roles": {
"role1": {
"type": "content"
"type": "string"
},
"org1": {
"type": "string"
},
"role2": {
"type": "string"
},
"org2": {
"type": "string"
},
},
"picture": {
"picture": {