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

From Green Family Wiki
Jump to: navigation, search
m (11 revisions imported: Initial import from smithfam)
 
(4 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=template
+
   | format=list
   | template=Family/Residence Highlight/Region List
+
  | sep=;
 +
   | template=Place/Region
 
   | searchlabel=
 
   | searchlabel=
 
   | headers=hide
 
   | headers=hide
 
   | mainlabel=-
 
   | mainlabel=-
 
   | link=none
 
   | link=none
   }}|;|;|
+
   }}}}|;|/|
   | template=Id
+
   | template=Region/Highlight
 
   }}
 
   }}
 
| direction={{{direction|}}}
 
| 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"