2,037
edits
Changes
m
rework news so it is not frame in frame
<noinclude><div style="background: yellow; padding: 0.3em; text-align: center; font-size: 125%; border: 2px solid red;">'''Do not edit this page unless you know what you are doing!<br />To edit the content of the main page, or to translate into other languages, please consult [[GRAMPS:Main page templates]].'''</div>
</noinclude><div style="border:0; margin: 0.2em 10px 10px1em 5px 5px;">
<div style="background:#f9f9f9; padding:0px; border:1px solid #aaaaaa; margin-bottom:5px;">
<div id="mainpage_pagetitle">'''{{Main page/include|welcome|{{{1|}}}|3=<span id="mainpage_mwtitle">GRAMPS</span>}}'''</div>
|{{languages|Main_Page|{{{2|}}}}}
|}
{| style="border:0; margin: 0;" width="100%" cellspacing="105"
| valign="top" class="mainpage_hubbox" |
<div class="mainpage_hubtitle">'''{{Main page/include|gramps title|{{{1|}}}}}'''</div>
<div class="mainpage_boxcontents">
{| style="border: 0; margin: 0;" cellpadding="31"
| valign="top" | {{Click | image=gramps-logo.png | link={{#if: {{{1|}}}|{{#ifexist: Portal:Documentation/{{{1}}}|Portal:Documentation/{{{1}}}|Portal:Documentation}}|Portal:Documentation}} | width=80px | height=80px}}
| valign="top" |
</div>
<div class="mainpage_boxcontents">
{| style="border: 0; margin: 0;" cellpadding="31"
| valign="top" | {{Main page/include|gramps links|{{{1|}}}}}
|}
<div class="mainpage_hubtitle">'''{{Main page/include|genealogy title|{{{1|}}}}}'''</div>
<div class="mainpage_boxcontents">
{| style="border: 0; margin: 0;" cellpadding="31"
| valign="top" | {{Click | image=Gramps-genea.png | link={{#if: {{{1|}}}|{{#ifexist: Portal:Genealogy/{{{1}}}|Portal:Genealogy/{{{1}}}|Portal:Genealogy}}|Portal:Genealogy}} | width=80px | height=80px}}
| valign="top" |
</div>
<div class="mainpage_boxcontents">
{| style="border: 0; margin: 0;" cellpadding="31"
| valign="top" |
{{Main page/include|genealogy links|{{{1|}}}}}
|}
<!-- Now the bottom part, left information and empty space, right the news
-->{| style="border:0; margin: 0;" width="100%" cellspacing="105"
| valign="top" |
<!-- a table with the rows the entries that appear left of news
<div class="mainpage_hubtitle">'''{{Main page/include|feature title|{{{1|}}}}}'''</div>
<div class="mainpage_boxcontents">
{| style="border: 0; margin: 0;" cellpadding="31"
| valign="top" |
{{Main page/include|feature text|{{{1|}}}}}
|}
<!-- Now the news
--> | width="60%" valign="top" classstyle="mainpage_hubboxborder=0px;" |<div classstyle="border:1px solid #aaaaaa; margin-bottom:5px; text-align: center; font-size: 105%; padding: 0.4em; background-color: #eeeeee;" cellspacing="1" cellpadding="mainpage_hubtitle0">'''{{Main page/include|news title|{{{1|}}}}}'''</div><div class="mainpage_boxcontents" style="padding:0em 0em">{| width="100%" style="margin: 0;" cellspacing="0" cellpadding="0"
|<div>{{#if: {{{1|}}}| {{#ifexist: News/{{{1}}}|{{#lst:news/{{{1}}}|news_mainpage}}|{{#lst:news|news_mainpage}}}} |{{#lst:news|news_mainpage}}}}
</div>