StarfieldWiki:AppHomePage

From Starfield Wiki
Jump to: navigation, search

This page is used to define the mobile app home page layout and styles. Do not edit unless you understand the format.

{ // TODO: sample manifest
     // homepage manifest
     "version" : 1,
     "banner" : {
          "imageURL" : "images.starfieldwiki.net/d/dd/Starfield-hero-background.jpg",
          "logoURL"  : "https://images.starfieldwiki.net/1/19/Sfwiki_wordmark_logo_white.svg"
     },
     "homepage" : [
          { // trivia box segment
               "type" : "card_trivia",
               "title" : "Did You Know?",
               "wikiPage" : "Main Page/Did_You_Know_Transclusion",
               "items_per_page" : 5,
               "footer_link" : "https://starfieldwiki.net/wiki/Main_Page/Did_You_Know",
               "footer_text" : "Would you like to know more?",
               "footer_icon" : "question_marks"
          },
          { // featured image widget
               "type" : "card_featured_image",
               "title" : "Featured Image",
               "wikiPage" : "Main Page/Featured Image",            
               "header_link" : "https://starfieldwiki.net/wiki/StarfieldWiki:Featured_Images/Old_FIs",
               "footer_text": "More featured images",
               "footer_link": "https://starfieldwiki.net/wiki/StarfieldWiki:Featured_Images/Old_FIs"
          },
          { // featured article widget
               "type" : "card_featured_article",
               "title" : "Featured Article",
               "wikiPage" : "Main Page/Featured Article",  
               "header_link" : "https://starfieldwiki.net/wiki/StarfieldWiki:Featured_Articles/Old_FAs",
               "footer_text": "More featured articles",
               "footer_link": "https://starfieldwiki.net/wiki/StarfieldWiki:Featured_Articles/Old_FAs"
          },
          { // recent news widget
               "type" : "card_news",
               "title" : "Recent News",
               "wikiPage" : "StarfieldWiki:News", 
               "header_link" : "https://starfieldwiki.net/wiki/StarfieldWiki:News",
               "footer_text" : "More news...",
               "footer_link": "https://starfieldwiki.net/wiki/StarfieldWiki:News"
          },
          { // generic card
               "type" : "card_generic",
               "template_content" : "StarfieldWiki:About",
               "style" : "outlined",
               "header_title" : "About"
          }
     ]
}