Template:Opinion: Difference between revisions
Appearance
WikiSpooks>Robin A start. Still experimental |
m Plain formatting, no semantic markup |
||
| Line 24: | Line 24: | ||
|Has superobject={{FULLPAGENAME}} | |Has superobject={{FULLPAGENAME}} | ||
|Has objectClass=Quotation | |Has objectClass=Quotation | ||
|Has author={{#ifeq: | |Has author={{#ifeq: |Person|{{FULLPAGENAME}},}}{{#if: {{{authors|}}}|{{{authors|}}}|{{#if: }}}}|+sep=, | ||
|Has text={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}{{{text|}}}{{#ifeq: {{{quote_marks}}}|0||”}} | |Has text={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}{{{text|}}}{{#ifeq: {{{quote_marks}}}|0||”}} | ||
|Is about={{#ifeq: | |Is about={{#ifeq: |Person||{{FULLPAGENAME}},}}{{{subjects|}}}|+sep=, | ||
|Has wikipediaPage={{{wikipedia|}}} | |Has wikipediaPage={{{wikipedia|}}} | ||
|Has location={{{location|}}}|+sep=, | |Has location={{{location|}}}|+sep=, | ||
| Line 42: | Line 42: | ||
| inline_bold ={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}'''{{{text|}}}'''{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}{{MakeRef|ref_name={{{ref_name|}}}|source_name={{{source_name|}}}|source_URL={{{source_URL|}}}|source_details={{{source_details|}}}{{#if: {{{date|}}}|, {{{date|}}}}}}} | | inline_bold ={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}'''{{{text|}}}'''{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}{{MakeRef|ref_name={{{ref_name|}}}|source_name={{{source_name|}}}|source_URL={{{source_URL|}}}|source_details={{{source_details|}}}{{#if: {{{date|}}}|, {{{date|}}}}}}} | ||
| inline_italics ={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}''{{{text|}}}''{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}{{MakeRef|ref_name={{{ref_name|}}}|source_name={{{source_name|}}}|source_URL={{{source_URL|}}}|source_details={{{source_details|}}}{{#if: {{{date|}}}|, {{{date|}}}}}}} | | inline_italics ={{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}''{{{text|}}}''{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}{{MakeRef|ref_name={{{ref_name|}}}|source_name={{{source_name|}}}|source_URL={{{source_URL|}}}|source_details={{{source_details|}}}{{#if: {{{date|}}}|, {{{date|}}}}}}} | ||
| #default = {{QB|<big>{{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}{{{text|}}}{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}</big/><br/>''{{ArrayMapListLink|{{#if: {{{authors|}}}|{{{authors}}}|{{#ifeq: | | #default = {{QB|<big>{{#if: {{{font}}}|<font face="{{{font}}}">}}{{#ifeq: {{{quote_marks}}}|0||“}}{{{text|}}}{{#ifeq: {{{quote_marks}}}|0||”}}{{#if: {{{font}}}|</font>}}</big/><br/>''{{ArrayMapListLink|{{#if: {{{authors|}}}|{{{authors}}}|{{#ifeq: |Person|{{FULLPAGENAME}},}}}}}}{{#if: {{{date|}}}| ({{{date|}}}) }}'' - {{MakeRef|ref_name={{{ref_name|}}}|source_name={{{source_name|}}}|source_URL={{{source_URL|}}}|source_details={{{source_details|}}}}} {{#if: {{{location|}}}| ({{{location|}}})}}{{#if: {{{wikipedia|}}}| [{{{wikipedia}}} {{{Wikipedia|}}}]}}{{#if: {{{note|}}}|<br/>{{{note}}}}}|{{RED|Error: text parameter not specified!}}}}}}}}</includeonly> | ||
Latest revision as of 22:34, 24 September 2026
This template is for opinions. For quotations use Template:SMWQ.
It marks them up, semantically as well as physically.
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
It takes the following parameters: <poem></poem>