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

From Green Family Wiki
Jump to: navigation, search
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|{{#ask: [[-Has subobject::{{{1}}}]]
+
</noinclude><includeonly>{{Region/List Highlight|{{For Each Unique|{{#ask: [[-Has subobject::{{{1}}}]]
 
| ?Residence Link Place
 
| ?Residence Link Place
 
| sort=Residence Link Index
 
| sort=Residence Link Index
Line 14: Line 14:
 
}}
 
}}
 
| direction={{{direction|}}}
 
| direction={{{direction|}}}
}}<includeonly>
+
}}|;|;|
 +
| template=Id
 +
}}}}<includeonly>

Revision as of 22:16, 24 June 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"