def skyinfo(iq, cc, wv, conddist, skycond):
    """
    Get string of sky conditions info for current scheduling period.

    Parameters
    ----------
    iq : string
        Image quality

    cc : string
        Cloud condition

    wv : string
        Water vapor

    conddist : string or None
        Condition distribution type if generated randomly.

    skycond : 'astropy.table.Table'
        Sky conditions table with columns iq, cc, wv.

    Returns
    -------
    lines : list of strings
        Output info as a list of lines.
    """
    if conddist is None:
        fprint = '{0:<35s}({1}, {2}, {3})'
        return ['', fprint.format('Sky conditions (iq, cc, wv): ', iq, cc, wv)]
    else:
        fprint = '{0:<35s}{1} (iq={2}, cc={3}, wv={4})'
        iq = skycond['iq'].data[0]
        cc = skycond['cc'].data[0]
        wv = skycond['wv'].data[0]
        return ['', fprint.format('Sky conditions:', conddist, iq, cc, wv)]