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

From Green Family Wiki
Jump to: navigation, search
m (11 revisions imported: Initial import from smithfam)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* First parameter: family to query
 
* First parameter: family to query
 
* ''direction'': direction for a gradient; default is "to right"
 
* ''direction'': direction for a gradient; default is "to right"
</noinclude><includeonly>{{Region/List Highlight|{{For Each Unique|{{#ask: [[-Has subobject::{{{1}}}]]
+
</noinclude><includeonly>{{Highlight Gradient|{{For Each Unique|{{Clean SMW|{{#ask: [[-Has subobject::{{{1}}}]]
| ?Residence Link Place
+
  | ?Residence Link Place
| sort=Residence Link Index
+
  | sort=Residence Link Index
| format=list
+
  | format=list
| template=Place/Region
+
  | sep=;
| sep=;
+
  | template=Place/Region
| searchlabel=
+
  | searchlabel=
| headers=hide
+
  | headers=hide
| mainlabel=-
+
  | mainlabel=-
| link=none
+
  | link=none
}}
+
  }}}}|;|/|
 +
  | template=Region/Highlight
 +
  }}
 
| direction={{{direction|}}}
 
| direction={{{direction|}}}
}}|;|;|
+
}}<includeonly>
| template=Id
 
}}}}<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"