Difference between revisions of "Template:Family/Residence Gradient"

From Green Family Wiki
Jump to: navigation, search
m (11 revisions imported: Initial import from smithfam)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>Produce a CSS background color or gradient representing the highlight colors of the family's [[Property:Residence|Residence]] regions.
 
<noinclude>Produce a CSS background color or gradient representing the highlight colors of the family's [[Property:Residence|Residence]] regions.
</noinclude><includeonly>{{#ask: [[-Has subobject::{{{1}}}]]
+
* First parameter: family to query
| ?Residence Link Place
+
* ''direction'': direction for a gradient; default is "to right"
| sort=Residence Link Index
+
</noinclude><includeonly>{{Highlight Gradient|{{For Each Unique|{{Clean SMW|{{#ask: [[-Has subobject::{{{1}}}]]
| format=list
+
  | ?Residence Link Place
| template=Place/Region
+
  | sort=Residence Link Index
| sep=;
+
  | format=list
| searchlabel=
+
  | sep=;
| headers=hide
+
  | template=Place/Region
| mainlabel=-
+
  | searchlabel=
| link=none
+
  | headers=hide
 +
  | mainlabel=-
 +
  | link=none
 +
  }}}}|;|/|
 +
  | template=Region/Highlight
 +
  }}
 +
| direction={{{direction|}}}
 
}}<includeonly>
 
}}<includeonly>

Latest revision as of 12:11, 7 December 2015

Produce a CSS background color or gradient representing the highlight colors of the family's Residence regions.

  • First parameter: family to query
  • direction: direction for a gradient; default is "to right"