Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RelationsGraph: Difference between revisions

Template page
m added connection lines
Tag: Reverted
m Undo revision 294 by Alkivkos (talk)
Tag: Undo
 
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="
<div style="
Line 9: Line 8:
">
">


<!-- CONNECTION LINES -->
<!-- Center node -->
 
<!-- Top -->
<div style="
  position:absolute;
  top:140px;
  left:348px;
  width:4px;
  height:70px;
  background:#aaa;
"></div>
 
<!-- Bottom -->
<div style="
  position:absolute;
  top:290px;
  left:348px;
  width:4px;
  height:70px;
  background:#aaa;
"></div>
 
<!-- Left -->
<div style="
  position:absolute;
  top:248px;
  left:190px;
  width:95px;
  height:4px;
  background:#aaa;
"></div>
 
<!-- Right -->
<div style="
  position:absolute;
  top:248px;
  left:420px;
  width:95px;
  height:4px;
  background:#aaa;
"></div>
 
<!-- Top Left -->
<div style="
  position:absolute;
  top:170px;
  left:220px;
  width:90px;
  height:4px;
  background:#aaa;
  transform: rotate(-35deg);
  transform-origin:left center;
"></div>
 
<!-- Top Right -->
<div style="
  position:absolute;
  top:170px;
  left:390px;
  width:90px;
  height:4px;
  background:#aaa;
  transform: rotate(35deg);
  transform-origin:left center;
"></div>
 
<!-- Bottom Left -->
<div style="
  position:absolute;
  top:310px;
  left:220px;
  width:90px;
  height:4px;
  background:#aaa;
  transform: rotate(35deg);
  transform-origin:left center;
"></div>
 
<!-- Bottom Right -->
<div style="
  position:absolute;
  top:310px;
  left:390px;
  width:90px;
  height:4px;
  background:#aaa;
  transform: rotate(-35deg);
  transform-origin:left center;
"></div>
 
 
<!-- CENTER -->
<div style="
<div style="
   position: absolute;
   position: absolute;
Line 112: Line 20:
   border-radius: 12px;
   border-radius: 12px;
   font-weight: bold;
   font-weight: bold;
  z-index:2;
">
">
{{{center|Main Entity}}}
{{{center|Main Entity}}}
</div>
</div>


 
<!-- Top -->
<!-- TOP -->
{{#if:{{{top|}}}|
{{#if:{{{top|}}}|
<div style="
<div style="
Line 130: Line 36:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{top}}}
{{{top}}}
Line 136: Line 41:
}}
}}


<!-- BOTTOM -->
<!-- Bottom -->
{{#if:{{{bottom|}}}|
{{#if:{{{bottom|}}}|
<div style="
<div style="
Line 148: Line 53:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{bottom}}}
{{{bottom}}}
Line 154: Line 58:
}}
}}


<!-- LEFT -->
<!-- Left -->
{{#if:{{{left|}}}|
{{#if:{{{left|}}}|
<div style="
<div style="
Line 166: Line 70:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{left}}}
{{{left}}}
Line 172: Line 75:
}}
}}


<!-- RIGHT -->
<!-- Right -->
{{#if:{{{right|}}}|
{{#if:{{{right|}}}|
<div style="
<div style="
Line 184: Line 87:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{right}}}
{{{right}}}
Line 190: Line 92:
}}
}}


<!-- TOP LEFT -->
<!-- Top Left -->
{{#if:{{{topleft|}}}|
{{#if:{{{topleft|}}}|
<div style="
<div style="
Line 202: Line 104:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{topleft}}}
{{{topleft}}}
Line 208: Line 109:
}}
}}


<!-- TOP RIGHT -->
<!-- Top Right -->
{{#if:{{{topright|}}}|
{{#if:{{{topright|}}}|
<div style="
<div style="
Line 220: Line 121:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{topright}}}
{{{topright}}}
Line 226: Line 126:
}}
}}


<!-- BOTTOM LEFT -->
<!-- Bottom Left -->
{{#if:{{{bottomleft|}}}|
{{#if:{{{bottomleft|}}}|
<div style="
<div style="
Line 238: Line 138:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{bottomleft}}}
{{{bottomleft}}}
Line 244: Line 143:
}}
}}


<!-- BOTTOM RIGHT -->
<!-- Bottom Right -->
{{#if:{{{bottomright|}}}|
{{#if:{{{bottomright|}}}|
<div style="
<div style="
Line 256: Line 155:
   color: white;
   color: white;
   border-radius: 10px;
   border-radius: 10px;
  z-index:2;
">
">
{{{bottomright}}}
{{{bottomright}}}
Line 264: Line 162:
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>

Latest revision as of 15:13, 1 May 2026


Usage

{{RelationsGraph
| center = 

| top = 
| topcolor = 

| left = 
| leftcolor = 

| right = 
| rightcolor = 

| bottom = 
| bottomcolor = 
}}
Contents