Jump to content

Charles-François D.

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Charles-François D.

  • Rank
    Member
  1. My fault was passing {{Gateway}} instead of {{Mask}}. Sorry ! Charles
  2. Hi, Having trouble with a simple switch case where it never work : {{#switch: {{{Gateway}}} | 255.255.255.252 = /30 | 255.255.255.248 = /29 | 255.255.255.240 = /28 | 255.255.255.224 = /27 | 255.255.255.192 = /26 | 255.255.255.128 = /25 | 255.255.255.0 = /24 | 255.255.254.0 = /23 | 255.255.252.0 = /22 | 255.255.248.0 = /21 | 255.255.240.0 = /20 | 255.255.224.0 = /19 | 255.255.192.0 = /18 | 255.255.128.0 = /17 | 255.255.0.0 = /16 | /? }} I give the exact same gateway as one of these and it is still returning the default value : /? There is something missing to my understanding, if someone can make light on this... Thanks ! Charles
  3. Went with MagicNoCache and it is working. Thank you very much it is appreciated ! Charles
  4. What extension would you recommend ? Thanks ! Charles
  5. Hi, Currently listing subpages with Subpagelist3 extension, the problem is it is not updating the page if a new subpage is created unless I do a Null edit but I don't want the user to actually do something. I want it to refresh on viewing if it is possible. Thanks ! Charles
  6. Alright, testing SubPageList extension. I have never installed an extension using composer and i'm getting an error so I posted on the github page. Thank you ! Charles
  7. Hi, I want to list the pages inside one's page but without all the subpages is that even possible ? This is what I'm using right now : {{Special:PrefixIndex/{{FULLPAGENAME}}/ |columns=1 |hideredirects=1 |stripprefix=1}} And it output something like : Client1/Contact Client1/Contact/External Client1/Contact/Internal Client2/Contact Client2/Contact/External Client2/Contact/Internal And I want something like : Client1 Client2 Thanks ! Charles
  8. You got it ! It was the line break at the end .. Thank you very much ! Charles
  9. Okay, so I have redone my infobox to look like this : {{#if: {{{Contact_Cie|}}} | ==={{{Contact_Cie}}}=== }} {{#if: {{{Contact_Name|}}} | :Name : {{{Contact_Name}}} }} {{#if: {{{Contact_Tel|}}} | :Tel : {{{Contact_Tel}}} }} But it still does the line break if no information is entered in the name or tel field... Something i'm not fully understanding, i'm very greatfull of your help ! Charles
  10. Not sure to understand. you recommend to replace : {{#if: {{{Contact_Name}}} | {{Contact_Name|{{{Contact_Name}}}|}} | {{blank}} }} For this : {{#if: {{{Contact_Name|}}} | : {{{Contact_Name}}} }} Without the sub-template or the blank part at the end of the if ? Thank you very much for your time ! Charles
  11. Hi, It still doesn't work, let say I have an infobox containing this line : {{#if: {{{Contact_Name}}} | {{Contact_Name|{{{Contact_Name}}}|}} | {{blank}} }} And It uses this template for Contact_Name : {{#if: {{{1|}}} | :Name : {{{1}}} }} And doesn't insert a name when using the infobox the line break from the ":" still appear. Infobox : {{Infobox/Contact |Contact_Name= |Contact_Cie=Blabla |Contact_Tel=123-456-7890 }} The Output is : ===Blabla=== : :123-456-7890 Thanks ! Charles
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.