Difference between revisions of "Parser Functions"

From SemanticOrganization
Jump to: navigation, search
Line 3: Line 3:
 
called like this (preferably via template):
 
called like this (preferably via template):
  
<syntaxhighlight>
+
<nowiki>{{#semorg-person:
{{#semorg-person:
+
|ref={{FULLPAGENAME}}
  |ref={{FULLPAGENAME}}
+
|prefix={{{prefix|}}}
  |prefix={{{prefix|}}}
+
|firstname={{{firstname|}}}
  |firstname={{{firstname|}}}
+
|lastname={{{lastname|}}}
  |lastname={{{lastname|}}}
+
|name={{{firstname|}}} {{{lastname|}}}
  |name={{{firstname|}}} {{{lastname|}}}
+
|suffix={{{suffix|}}}
  |suffix={{{suffix|}}}
+
|workstreet={{{workstreet|}}}
  |workstreet={{{workstreet|}}}
+
|workpostalcode={{{workpostalcode|}}}
  |workpostalcode={{{workpostalcode|}}}
+
|worklocality={{{worklocality|}}}
  |worklocality={{{worklocality|}}}
+
|email={{{email|}}}
  |email={{{email|}}}
+
|workphone={{{workphone|}}}
  |workphone={{{workphone|}}}
+
|homepage={{{homepage|}}}
  |homepage={{{homepage|}}}
+
|note={{{note|}}}
  |note={{{note|}}}
+
|organization={{{organization|}}}
  |organization={{{organization|}}}
+
|gender={{{gender|}}}
  |gender={{{gender|}}}
+
}}</nowiki>
}}
 
</syntaxhighlight>
 
  
 
sets all the attributes and spits out a nicely formatted table with all the contact information and also a download link for a .vcard file
 
sets all the attributes and spits out a nicely formatted table with all the contact information and also a download link for a .vcard file

Revision as of 05:47, 15 August 2018

#semorg-person

called like this (preferably via template):

{{#semorg-person:
 |ref={{FULLPAGENAME}}
 |prefix={{{prefix|}}}
 |firstname={{{firstname|}}}
 |lastname={{{lastname|}}}
 |name={{{firstname|}}} {{{lastname|}}}
 |suffix={{{suffix|}}}
 |workstreet={{{workstreet|}}}
 |workpostalcode={{{workpostalcode|}}}
 |worklocality={{{worklocality|}}}
 |email={{{email|}}}
 |workphone={{{workphone|}}}
 |homepage={{{homepage|}}}
 |note={{{note|}}}
 |organization={{{organization|}}}
 |gender={{{gender|}}}
}}

sets all the attributes and spits out a nicely formatted table with all the contact information and also a download link for a .vcard file

#semorg-person-ref

#semorg-form

#semorg-field

#semorg-template