Delete this page: Difference between revisions
(Changed case for if standard PAGENAME-"Genealogy" doesn't exist.) |
No edit summary |
||
Line 3: | Line 3: | ||
|RecordsName=Records Display Name | |RecordsName=Records Display Name | ||
|RecordsLink=Main Page | |RecordsLink=Main Page | ||
|StartedLink= | |StartedLink=Main Page | ||
}} | }} | ||
==Buttons code but external class== | ==Buttons code but external class== | ||
<div style="display:flex; flex-flow:row wrap; justify-content:flex-start; gap:20px;"> | <div style="display:flex; flex-flow:row wrap; justify-content:flex-start; gap:20px;"> | ||
<div class="online_records_button" style="align-content:center;">[[{{{RecordsLink| | <div class="online_records_button" style="align-content:center;">[[{{{RecordsLink|Main Page}}}|{{{RecordsName|Records Display Name}}}]]</div> | ||
<div class="community_button" style="align-content:center;">[[Online Research Help|Online<br>Research Help]]</div> | <div class="community_button" style="align-content:center;">[[Online Research Help|Online<br>Research Help]]</div> | ||
{{#if:{{{StartedLink|}}}|<div class="red_online_button" style="align-content:center;">[[{{{StartedLink|}}}|Getting<br>Started]]</div>|{{#ifexist: {{#replace:{{PAGENAME}}|Genealogy|}} Getting Started |<div class="red_online_button" style="align-content:center;">[[{{{StartedLink| | {{#if:{{{StartedLink|Main Page}}}|<div class="red_online_button" style="align-content:center;">[[{{{StartedLink|Main Page}}}|Getting<br>Started]]</div>|{{#ifexist: {{#replace:{{PAGENAME}}|Genealogy|}} Getting Started |<div class="red_online_button" style="align-content:center;">[[{{{StartedLink|Main Page}}}|Getting<br>Started]]</div>}}}} | ||
</div> | </div> | ||
==Buttons code including class== | ==Buttons code including class== | ||
<div style="display:flex; flex-flow:row wrap; justify-content:flex-start; gap:20px;"> | <div style="display:flex; flex-flow:row wrap; justify-content:flex-start; gap:20px;"> | ||
<div class="online_records_button" style="align-content:center;">[[{{{RecordsLink| | <div class="online_records_button" style="align-content:center;">[[{{{RecordsLink|Main Page}}}|{{{RecordsName|Records Display Name}}}]]</div> | ||
<div class="community_button" style="align-content:center;">[[Online Research Help|Online<br>Research Help]]</div> | <div class="community_button" style="align-content:center;">[[Online Research Help|Online<br>Research Help]]</div> | ||
{{# | {{#if:{{{StartedLink|Main Page}}}|<div class="red_online_button" style="align-content:center;">[[{{{StartedLink|Main Page}}}|Getting<br>Started]]</div>|{{#ifexist: {{#replace:{{PAGENAME}}|Genealogy|}} Getting Started |<div class="red_online_button" style="align-content:center;">[[{{{StartedLink|Main Page}}}|Getting<br>Started]]</div>}}}} | ||
</div> | </div> |